반응형
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
- 타입스크립트
- 레벨 1
- typescript
- type challenge
- 알고리즘
- Node.js
- 자바스크립트
- 소켓
- 문자열
- Crawling
- BFS
- ip
- dfs
- HTTP
- Algorithm
- Nestjs
- 수학
- 그래프
- 가천대
- 프로그래머스
- socket
- 백준
- 크롤링
- javascript
- TCP
- 타입 챌린지
- 프로그래머스 레벨 2
- HTTP 완벽 가이드
- 쉬운 문제
Archives
- Today
- Total
목록백준 9613번 (1)
kakasoo
[node.js] GCD 합 ( 백준 9613번 )
const readline = require("readline"); const rl = readline.createInterface({ input: process.stdin, output: process.stdout, }); const input = []; let count = 0; rl.on("line", (line) => { if (!count) { count = Number(line); } else { input.push(line); main(line); if (input.length === count) { rl.close(); } } }).on("close", () => { process.exit(); }); const gcd = (A, B) => { if (B === 0) { return A; ..
프로그래밍/알고리즘 풀이
2021. 4. 5. 18:38