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:34: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]
34 | for (int i=0; i<ones.size(); i++) e[i]=0;
| ~^~~~~~~~~~~~
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++){
| ~^~~~~~~~~~~~
supertrees.cpp:39: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]
39 | for (int j=i+1; j<ones.size(); j++){
| ~^~~~~~~~~~~~
supertrees.cpp:47:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for (int j=0; j<temp.size(); j++){
| ~^~~~~~~~~~~~
supertrees.cpp:48:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | for (int k=0; k<temp.size(); k++) c[ones[j].x][ones[k].x]=1;
| ~^~~~~~~~~~~~
supertrees.cpp:52:18: 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<temp.size(); j++) ans[temp[j]][temp[(j+1)%ss]]=1;
| ~^~~~~~~~~~~~
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++){
| ~^~~~~~~~~~~~
supertrees.cpp:54:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for (int k=0; k<temp.size(); k++) c[ones[j].x][ones[k].x]=2;
| ~^~~~~~~~~~~~