From 3527e814997747119d4ddba4ddcd981f232da98e Mon Sep 17 00:00:00 2001 From: shyun2e Date: Thu, 20 Feb 2025 19:22:45 +0900 Subject: [PATCH] =?UTF-8?q?10798=20-=20=EC=84=B8=EB=A1=9C=EC=9D=BD?= =?UTF-8?q?=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- park/20250220/10798.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 park/20250220/10798.js diff --git a/park/20250220/10798.js b/park/20250220/10798.js new file mode 100644 index 0000000..80e5b68 --- /dev/null +++ b/park/20250220/10798.js @@ -0,0 +1,15 @@ +const input = require('fs').readFileSync('algorithm-study/park/20250220/input.txt') + .toString() + .trim() + .split("\n"); + + +let ans = ''; + +for (let j = 0; j < 15; j++) { + for (let i = 0; i < 5; i++) { + if (input[i][j] === undefined) continue; + ans += input[i][j]; + } +} +console.log(ans); \ No newline at end of file