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