From 9a969dcfba19dadce04c7b7fdace78867c0811e4 Mon Sep 17 00:00:00 2001 From: songyc macbook Date: Thu, 6 Nov 2025 20:59:01 +0900 Subject: [PATCH] 20251106 baekjoon --- code_study/Baekjoon/ts/5522.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 code_study/Baekjoon/ts/5522.ts 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