diff --git a/code_study/Baekjoon/ts/5522.ts b/code_study/Baekjoon/ts/5522.ts new file mode 100644 index 0000000..6fe35d7 --- /dev/null +++ b/code_study/Baekjoon/ts/5522.ts @@ -0,0 +1,3 @@ +export {}; +const input = require("fs").readFileSync(0).toString().trim().split("\n").map(Number); +console.log(input.reduce((acc,v) => acc+v,0)); \ No newline at end of file