File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
library/data_structures/dsu Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ struct dsu {
77 bool join (int a, int b) {
88 if ((a = go (a)) == (b = go (b))) return 0 ;
99 if (e[a] > e[b]) swap (a, b);
10- return e[a] += e[b], e[b] = a;
10+ return e[a] += e[b], e[b] = a, 1 ;
1111 }
1212};
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ syntaxError:../library/trees/lca_rmq/iterate_subtree.hpp:6
4242knownConditionTrueFalse:../library/strings/suffix_array/suffix_array.hpp:62
4343knownConditionTrueFalse:../library/strings/suffix_array/suffix_array_short.hpp:29
4444knownConditionTrueFalse:../library/data_structures/dsu/kruskal_tree.hpp:15
45+ knownConditionTrueFalse:../library/data_structures/dsu/dsu.hpp:10
4546constVariable:../kactl/content/numerical/NumberTheoreticTransform.h:30
4647constVariable:../kactl/content/graph/CompressTree.h:20
4748constVariableReference:../kactl/content/graph/CompressTree.h:20
You can’t perform that action at this time.
0 commit comments