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

// 백준 1260번 DFS와 BFS를 풀었습니다. const readline = require("readline"); const rl = readline.createInterface({ input: process.stdin, output: process.stdout, }); const input = []; let n = 0; let m = 0; let start = 0; rl.on("line", (line) => { if (!n) { [n, m, start] = line.split(" ").map(Number); } else { input.push(line); if (input.length === m) { main(); process.exit(); } } }); const dfs = (start) =>..
프로그래밍/알고리즘 풀이
2021. 4. 9. 17:19