Skip to content

Commit c824a46

Browse files
committed
fix bug
1 parent 720c76e commit c824a46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/data_structures/dsu/kruskal_tree.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
struct kr_tree {
66
int id;
77
vi p;
8-
vector<array<int, 2>> adj;
8+
vector<vi> adj;
99
kr_tree(int n): id(n), p(2 * n, -1), adj(2 * n) {}
1010
int find(int v) {
1111
return p[v] < 0 ? v : p[v] = find(p[v]);

0 commit comments

Comments
 (0)