supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:20:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for (int j=0; j<v.size()-1; j++) ans[v[j]][v[j+1]]=1;
| ~^~~~~~~~~~~
supertrees.cpp:24:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for (int i=0; i<ones.size(); i++) e[i]=0;
| ~^~~~~~~~~~~~
supertrees.cpp:25:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for (int i=0; i<ones.size(); i++){
| ~^~~~~~~~~~~~
supertrees.cpp:29:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for (int j=i+1; j<ones.size(); j++){
| ~^~~~~~~~~~~~
supertrees.cpp:37:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (int j=0; j<temp.size(); j++) ans[temp[j]][temp[(j+1)%ss]]=1;
| ~^~~~~~~~~~~~