We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae01853 commit 3a74281Copy full SHA for 3a74281
library/trees/ladder_decomposition/linear_kth_par.hpp
@@ -25,7 +25,7 @@ template<int KAPPA = 2> struct linear_kth_par {
25
jmp[t] = st[max(0, siz - KAPPA * (t & -t))];
26
t++;
27
};
28
- auto dfs = [&](auto&& self, int v, int p) {
+ auto dfs = [&](auto&& self, int v, int p) -> void {
29
st[d[v]] = v;
30
int& l = leaf[v] = v;
31
pos[v] = t;
0 commit comments