반응형
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
- HTTP 완벽 가이드
- socket
- dp
- typescript
- 가천대
- Nestjs
- HTTP
- Algorithm
- Node.js
- 자바스크립트
- 타입스크립트
- 알고리즘
- TCP
- 그래프
- 타입 챌린지
- dfs
- 쉬운 문제
- 프로그래머스
- type challenge
- 프로그래머스 레벨 2
- 수학
- 문자열
- BFS
- 소켓
- Crawling
- ip
- 크롤링
- 백준
- 레벨 1
- javascript
Archives
- Today
- Total
목록큐 (1)
kakasoo
[node.js] 요세푸스 문제 ( 백준 1158번 )
const readline = require("readline"); const rl = readline.createInterface({ input: process.stdin, output: process.stdout, }); rl.on("line", (line) => { main(line); }).on("close", () => process.exit()); /** * * @param {string} line */ const main = (line) => { const [N, K] = line.split(" ").map(Number); const arr = new Array(N).fill(0).map((el, i) => i + 1); let answer = "
프로그래밍/알고리즘 풀이
2021. 4. 16. 15:21