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

귀찮아서 때려 박듯이 풀었다. const readline = require("readline"); const rl = readline.createInterface({ input: process.stdin, output: process.stdout, }); const people = []; rl.on("line", (line) => { people.push(line); if (people.length === 9) { main(people); } }); /** * * @param {string[]} people */ const main = (people) => { const heights = people.map(Number).sort((a, b) => a - b); const sum = heights.red..
프로그래밍/알고리즘 풀이
2021. 5. 12. 18:15