백준 node.js 27751 [백준] Node.js 2775 const fs = require('fs'); const [T, ...arr] = fs.readFileSync("/dev/stdin").toString().trim().split("\n"); for (let i = 0; i < Number(T); i++) { const k = Number(arr.shift()); const n = Number(arr.shift()); const apt = []; for (let j = 0; j 2022. 10. 12. 이전 1 다음