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
- SW
- Get
- 프로그래머스
- react-router
- maeil-mail
- Algorithm
- java
- axios
- json-server
- 자바
- useDispatch
- 리액트
- createSlice
- Python
- react-redux
- redux-toolkit
- 항해플러스
- react
- redux
- 이코테
- redux-saga
- 항해99
- 알고리즘
- sw expert academy
- 테코테코
- C++
- programmers
- 코딩테스트합격자되기
- 매일메일
- JavaScript
Archives
- Today
- Total
목록pythn (1)
Binary Journey

출처: https://youtu.be/acqm9mM1P6o - 나동빈 이코테 import sys input = sys.stdin.readline INF = int(1e9) # n: 노드, m: 간선 n, m = 6, 5 # start: 시작 노드 start = 1 # graph: 연결되어 있는 노드 정보 리스트 graph = [[] for i in range(n + 1)] # 방문 여부 체크 리스트 visited = [False] * (n + 1) # 최단 거리 테이블 초기화 distance = [INF] * (n + 1) # # 모든 간선 정보 입력받기 # for _ in range(m): # a, b, c = map(int, input().split()) # # a -> b 일 때 비용은 c # gr..
Algorithm/알고리즘 스터디(2021.12)
2022. 3. 13. 21:55