Skip to content

Commit 888fbb3

Browse files
authored
Update 9.py
1 parent 6a169f4 commit 888fbb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

10/9.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from collections import deque
22
import copy
33

4-
# 노드의 개수 입력 받기
4+
# 노드의 개수 입력받기
55
v = int(input())
66
# 모든 노드에 대한 진입차수는 0으로 초기화
77
indegree = [0] * (v + 1)
@@ -10,7 +10,7 @@
1010
# 각 강의 시간을 0으로 초기화
1111
time = [0] * (v + 1)
1212

13-
# 방향 그래프의 모든 간선 정보를 입력 받기
13+
# 방향 그래프의 모든 간선 정보를 입력받기
1414
for i in range(1, v + 1):
1515
data = list(map(int, input().split()))
1616
time[i] = data[0] # 첫 번째 수는 시간 정보를 담고 있음

0 commit comments

Comments
 (0)