Skip to content

Commit 36582b4

Browse files
authored
Update 3.cpp
1 parent 55f95f5 commit 36582b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎10/3.cpp‎

Lines changed: 2 additions & 2 deletions
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) {
@@ -50,4 +50,4 @@ int main(void) {
5050
cout << parent[i] << ' ';
5151
}
5252
cout << '\n';
53-
}
53+
}

0 commit comments

Comments
 (0)