반응형
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
- 프로그래머스 레벨 2
- dp
- dfs
- Crawling
- socket
- ip
- Nestjs
- 프로그래머스
- 가천대
- 쉬운 문제
- 그래프
- HTTP 완벽 가이드
- typescript
- 레벨 1
- Node.js
- 자바스크립트
- javascript
- BFS
- 크롤링
- 수학
- 문자열
- type challenge
- TCP
- 백준
- 타입스크립트
- 소켓
- HTTP
- 타입 챌린지
- Algorithm
- 알고리즘
Archives
- Today
- Total
목록백준 11721번 (1)
kakasoo

const readline = require("readline"); const rl = readline.createInterface({ input: process.stdin, output: process.stdout, }); rl.on("line", (line) => { let answer = ""; for (let i = 0; i < line.length; i++) { answer += line[i]; if (answer.length === 10) { console.log(answer); answer = ""; } } console.log(answer); });
프로그래밍/알고리즘 풀이
2021. 4. 15. 09:55