diff --git a/baekjoon/10951.js b/baekjoon/10951.js new file mode 100644 index 0000000..1b1f138 --- /dev/null +++ b/baekjoon/10951.js @@ -0,0 +1,14 @@ +// A + B - 4 +const input = require("fs") + .readFileSync(0, "utf-8") + .toString() + .trim() + .split("\n") + .map((v) => v.split(" ").map((v) => Number(v))); +const answer = []; + +for (const [a, b] of input) { + answer.push(a + b); +} + +console.log(answer.join("\n"));