Skip to content

Commit

Permalink
08.30: math(A + B - 4)
Browse files Browse the repository at this point in the history
  • Loading branch information
luckylooky2 committed Aug 30, 2024
1 parent 6c17e30 commit 6088a06
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions baekjoon/10951.js
Original file line number Diff line number Diff line change
@@ -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"));

0 comments on commit 6088a06

Please sign in to comment.