supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:38:8: error: 'viz' was not declared in this scope
38 | if(viz[i]){
| ^~~
supertrees.cpp:42:5: error: 'dfs' was not declared in this scope; did you mean 'ffs'?
42 | dfs(i,1ll);
| ^~~
| ffs
supertrees.cpp:53:17: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(ll j=1;j<v.size();j++)
| ~^~~~~~~~~
supertrees.cpp:60:8: error: 'viz' was not declared in this scope
60 | memset(viz,0,sizeof(viz));
| ^~~
supertrees.cpp:67:5: error: 'dfs' was not declared in this scope; did you mean 'ffs'?
67 | dfs(i,2);
| ^~~
| ffs
supertrees.cpp:87:17: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | for(ll j=0;j<x.size();j++)
| ~^~~~~~~~~