supertrees.cpp: In constructor 'DSU::DSU(int)':
supertrees.cpp:12:8: error: 'all' was not declared in this scope; did you mean 'std::filesystem::perms::all'?
12 | iota(all(link), 0ll);
| ^~~
| std::filesystem::perms::all
In file included from /usr/include/c++/10/filesystem:44,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:129,
from supertrees.cpp:1:
/usr/include/c++/10/bits/fs_fwd.h:148:7: note: 'std::filesystem::perms::all' declared here
148 | all = 0777,
| ^~~
supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:44:22: error: 'n' was not declared in this scope
44 | for (int i = 0; i < n - 1; i++) {
| ^