diff --git a/code_study/Baekjoon/js/10950.js b/code_study/Baekjoon/js/10950.js new file mode 100644 index 0000000..e791d8d --- /dev/null +++ b/code_study/Baekjoon/js/10950.js @@ -0,0 +1,6 @@ +const n = require("fs").readFileSync(0,"utf-8").toString().split("\n"); +const t = parseInt(n[0]); +for (let i = 1; i<=t; i++){ + let [a,b] = n[i].split(" ").map(Number); + console.log(a+b); +} \ No newline at end of file diff --git a/code_study/Baekjoon/js/10951.js b/code_study/Baekjoon/js/10951.js new file mode 100644 index 0000000..db2f6c6 --- /dev/null +++ b/code_study/Baekjoon/js/10951.js @@ -0,0 +1,5 @@ +const n = require("fs").readFileSync(0, "utf-8").toString().trim().split("\n"); +for (let i=0; i