Skip to content

Commit 55f95f5

Browse files
authored
Update 5.cpp
1 parent 1127eff commit 55f95f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

โ€Ž10/5.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
vector<pair<int, pair<int, int> > > edges;
1111
int result = 0;
@@ -57,4 +57,4 @@ int main(void) {
5757
}
5858

5959
cout << result << '\n';
60-
}
60+
}

0 commit comments

Comments
ย (0)