supertrees.cpp: In function 'void solve()':
supertrees.cpp:34:16: error: 'p' was not declared in this scope
34 | if(p[i][j]==0)
| ^
supertrees.cpp:42:22: error: 'p' was not declared in this scope
42 | if(i!=j&&p[i][j]==1)
| ^
supertrees.cpp:51:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for(int j=1;j<nodes.size();j++)
| ~^~~~~~~~~~~~~
supertrees.cpp:65:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | for(int i=0;i<reprez.size();i++)
| ~^~~~~~~~~~~~~~
supertrees.cpp:76:20: error: 'p' was not declared in this scope
76 | if(p[i][j]==1&&comp[i]!=comp[j])
| ^
supertrees.cpp:81:20: error: 'p' was not declared in this scope
81 | if(p[i][j]==2&&comp[i]==comp[j])
| ^
supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:96:10: warning: unused variable 'sub2' [-Wunused-variable]
96 | bool sub2=1;
| ^~~~