supertrees.cpp: In function 'vi get_comp(std::vector<std::vector<int> >&, std::vector<bool>&, int)':
supertrees.cpp:33:9: error: 'com' was not declared in this scope; did you mean 'comp'?
33 | vis[com[i]=1;
| ^~~
| comp
supertrees.cpp:33:17: error: expected ']' before ';' token
33 | vis[com[i]=1;
| ^
| ]
supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:58:4: error: 'trees' was not declared in this scope
58 | trees.pb(get_comp(adjtree,vis,i));
| ^~~~~
supertrees.cpp:59:4: error: 'roots' was not declared in this scope
59 | roots.pb(trees.bk.bk);
| ^~~~~
supertrees.cpp:62:13: error: 'trees' was not declared in this scope
62 | for (int i:trees)
| ^~~~~
supertrees.cpp:70:13: error: 'roots' was not declared in this scope
70 | for (int i:roots)
| ^~~~~
supertrees.cpp:78:13: error: 'roots' was not declared in this scope
78 | for (int i:roots)
| ^~~~~
supertrees.cpp:108:17: error: 'np' was not declared in this scope; did you mean 'n'?
108 | for (int i=0;i<np;i++)ans[i][i]=0;
| ^~
| n