반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- dp
- BFS
- 타입스크립트
- 타입 챌린지
- Nestjs
- 그래프
- Crawling
- 문자열
- 가천대
- TCP
- 쉬운 문제
- 크롤링
- 수학
- 소켓
- type challenge
- 레벨 1
- dfs
- 프로그래머스
- 자바스크립트
- 알고리즘
- typescript
- HTTP
- 프로그래머스 레벨 2
- javascript
- Node.js
- HTTP 완벽 가이드
- ip
- Algorithm
- socket
- 백준
Archives
- Today
- Total
목록백준 9465번 (1)
kakasoo

const readline = require("readline"); const input = []; let count = 0; const rl = readline.createInterface({ input: process.stdin, output: process.stdout, }); rl.on("line", (line) => { if (!count) { count = 3 * line; } else { input.push(line); if (input.length % 3 === 0) { main(); } if (input.length === count) { rl.close(); } } }).on("close", () => { process.exit(); }); const main = () => { cons..
프로그래밍/알고리즘 풀이
2021. 3. 25. 18:40