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