We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a26452 commit bcd402bCopy full SHA for bcd402b
9/2.py
@@ -10,6 +10,7 @@
10
adj = [[] for i in range (n + 1)]
11
# 최단 거리 테이블을 모두 무한(10억)으로 초기화합니다.
12
distance = [1e9] * (n + 1)
13
+
14
# 모든 간선 정보를 입력 받습니다.
15
for _ in range(m):
16
a, b, c = map(int, input().split())
0 commit comments