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