일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 파이썬
- Java
- programmers
- Lv. 0
- 티스토리챌린지
- select
- dfs
- Lv. 3
- Lv. 2
- level 3
- C언어
- SQL 고득점 KIT
- 자바스크립트
- javascript
- SQL
- softeer
- LEVEL 2
- Dynamic Programming
- bfs
- join
- 오블완
- DP
- 프로그래머스
- group by
- Lv. 1
- Python
- 너비 우선 탐색
- 깊이 우선 탐색
- 소프티어
- 동적계획법
- Today
- Total
목록최단 경로 (2)
몸과 마음이 건전한 SW 개발자
문제 링크https://www.acmicpc.net/problem/1504정답 코드import sysimport heapqinput = sys.stdin.readlinen, e = map(int, input().split())adjL = [[] for _ in range(n+1)]for _ in range(e): start, to, dist = map(int, input().split()) adjL[start].append([to, dist]) adjL[to].append([start, dist])v1, v2 = map(int, input().split())# 1에서 v1 까지 최소 + N에서 v2 까지 최소 + v1 v2 까지 최소# 1에서 v2 까지 최소 + N에서 v1 까지 최소 +..
문제 링크https://softeer.ai/practice/7726 Softeer - 현대자동차그룹 SW인재확보플랫폼 softeer.ai정답 코드const readline = require('readline');const rl = readline.createInterface({ input: process.stdin, output: process.stdout,});const inputData = [];rl.on('line', (line) => { inputData.push(line.split(" "));}).on('close', () => { const [n, m] = inputData[0].map((e) => Number(e)); const board = inputData.sl..