Skip to content

Commit 82f0833

Browse files
authored
Update 5.py
1 parent ca125a6 commit 82f0833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

9/5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# 모든 간선 정보를 입력받기
1414
for _ in range(m):
1515
x, y, z = map(int, input().split())
16-
# a번 노드에서 b번 노드로 가는 비용이 z라는 의미
16+
# x번 노드에서 y번 노드로 가는 비용이 z라는 의미
1717
graph[x].append((y, z))
1818

1919
def dijkstra(start):

0 commit comments

Comments
 (0)