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

// 백준 2145번 숫자놀이를 풀었습니다. const readline = require("readline"); const rl = readline.createInterface({ input: process.stdin, output: process.stdout, }); rl.on("line", (line) => { if (line === "0") { rl.close(); } main(line); }).on("close", () => { process.exit(); }); /** * * @param {string} line */ const main = (line) => { let numbers = line.split(""); const sumOfString = (acc, cur) => { acc = Num..
프로그래밍/알고리즘 풀이
2021. 4. 6. 10:33