We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93b5290 commit 40208beCopy full SHA for 40208be
13/7.py
@@ -18,7 +18,7 @@ def process(x, y, index):
18
# (x, y)의 위치와 연결된 나라(연합) 정보를 담는 리스트
19
united = []
20
united.append((x, y))
21
- # 너비 우선 탐색 (BFS)을 위한 큐 자료구조 정의
+ # 너비 우선 탐색 (BFS)을 위한 큐 라이브러리 사용
22
q = deque()
23
q.append((x, y))
24
union[x][y] = index # 현재 연합의 번호 할당
0 commit comments