supertrees.cpp: In function 'void dfs(int)':
supertrees.cpp:16:10: error: 'i' was not declared in this scope
16 | if(col[i] != 2 && b[v][i]) dfs(i);
| ^
supertrees.cpp:15:11: warning: unused variable 'p' [-Wunused-variable]
15 | for(auto p : g[v])
| ^
supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:52:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for (int j = 0; j < fp.size(); j++)
| ~~^~~~~~~~~~~
supertrees.cpp:58:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | for (int k = j + 1; k < fp.size(); k++)
| ~~^~~~~~~~~~~