Skip to content

Commit 1127eff

Browse files
authoredAug 4, 2020
Update 4.cpp
1 parent d7f222e commit 1127eff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎10/4.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ using namespace std;
55
// 노드의 개수(V)와 간선(Union 연산)의 개수(E)
66
// 노드의 개수는 최대 100,000개라고 가정
77
int v, e;
8-
int parent[100001]; // 부모 테이블 초기화하기
8+
int parent[100001]; // 부모 테이블 초기화
99

1010
// 특정 원소가 속한 집합을 찾기
1111
int findParent(int x) {
@@ -52,4 +52,4 @@ int main(void) {
5252
else {
5353
cout << "사이클이 발생하지 않았습니다." << '\n';
5454
}
55-
}
55+
}

0 commit comments

Comments
 (0)
Please sign in to comment.