ํ์ ๊ณต๋ถ (151) ์ธ๋ค์ผํ ๋ฆฌ์คํธํ [๋ฐฑ์ค/Node.js] 10951๋ฒ ํ์ด || JavaScript let input = require('fs').readFileSync('/dev/stdin').toString().trim().split("\n"); for (let i = 0; i [๋ฐฑ์ค/Node.js] 10952๋ฒ ํ์ด || JavaScript let input = require('fs').readFileSync('/dev/stdin').toString().split("\n"); const loop = Number(input.length - 1); let numbers = ""; for (let i = 0; i Number(n)); if (numbers[0] !== 0) { console.log(numbers[0] + numbers[1])}; } ๐ฅ ๋จ์ํ ๊ฒ ๊ฐ์๋ฐ ํ๋ฉด์ ๊น๋ค๋กญ๋ค๊ณ ๋๊ผ๋ค. ์ฃผ์ด์ง๋ ์ซ์ A, ์ B์ ์กฐ๊ฑด์ ์ ๋๋ก ์๋ด์.. A๋ > 0 ์ด๋, ์กฐ๊ฑด์ ๋ฐํ๋ ์ซ์๊ฐ ๋ค์ด์ค๋ฉด ์ถ๋ ฅํ์ง ์๋ ๊ฑธ ์๊ฐ์ ๋ชปํ์๋ค. ๊ทธ๋์ while๋ฌธ๋ ํ๋ค๊ฐ for๋ฌธ๋ ํ๋ค๊ฐ ํ๋๋ฐ ๋์ ํ ๋ฒ์๊ฐ ์์กํ๋ ๋๋์ด ๋ค์๋ค... ๐ฅ loop์ ๊ธธ์ด.. [๋ฐฑ์ค/Node.js] 2439๋ฒ ํ์ด || JavaScript let input = require('fs').readFileSync('/dev/stdin').toString().split("\n"); const loop = +input[0]; let stars = ""; for (i = 1; i [๋ฐฑ์ค/Node.js] 2438๋ฒ ํ์ด || JavaScript let input = require('fs').readFileSync('/dev/stdin').toString().split("\n"); const loop = +input[0]; for (i = 1; i [๋ฐฑ์ค/Node.js] 11021, 11022๋ฒ ํ์ด || JavaScript #11021 let input = require('fs').readFileSync('/dev/stdin').toString().split("\n"); const loop = +input[0]; for (i = 1; i Number๋ก ํ์ ๋ณํ ํ ๋ํด์ค ๊ฐ์ ํ๋์ฉ ์ถ๋ ฅ๋๊ฒ ํด์ค๋ค. #11022 for (i = 1; i [๋ฐฑ์ค/Node.js] 15552๋ฒ ํ์ด || JavaScript let input = require('fs').readFileSync('/dev/stdin').toString().split("\n"); const loop = +input[0]; let numArray = ""; for (i = 1; i [๋ฐฑ์ค/Node.js] 25314๋ฒ ํ์ด || JavaScript let input = require('fs').readFileSync('/dev/stdin').toString().split(" "); const quantityOf4 = +input[0] / 4; let board = ""; for (let i = 0; i < quantityOf4; i++) { board = `${board} long`; } console.log(board.trim(), "int"); ๐ ๊ณต๋ฐฑ์ด ๋์ค๋ ๋ถ๋ถ์ trim() ํจ์๋ก ์๋ผ๋ธ ํ ๋์ int ๋ฅผ ๊ฐ์ด ์ถ๋ ฅํ๋ค. [๋ฐฑ์ค/Node.js] 25304๋ฒ ํ์ด || JavaScript let input = require('fs').readFileSync('/dev/stdin').toString().split("\n"); const sum = +input[0]; const kinds = +input[1]; let itemPrice = 0; for (let i = 2; i ์ด์ 1 ยทยทยท 13 14 15 16 17 18 19 ๋ค์