728x90
🤖
문제
https://www.acmicpc.net/problem/11021
풀이
const fs = require("fs");
const input = fs.readFileSync("/dev/stdin").toString().split("\n");
const T = parseInt(input[0]);
let result = "";
for (let i = 0; i < T; ++i) {
let ab = input[i + 1].split(" ");
result += `Case #${i + 1}: ${parseInt(ab[0]) + parseInt(ab[1])}\n`;
}
console.log(result);
1. 특기사항 없음
728x90
'유물 > └ 백준' 카테고리의 다른 글
<백준> 2438번: 별 찍기 - 1 (0) | 2022.01.02 |
---|---|
<백준> 11022번: A+B - 8 (0) | 2022.01.01 |
<백준> 2742번: 기찍 N (0) | 2021.12.31 |
<백준> 2741번: N 찍기 (0) | 2021.12.31 |
<백준> 15552번: 빠른 A+B (0) | 2021.12.29 |