supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:65:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | for (int i=0; i<grp.size(); i++)
| ~^~~~~~~~~~~
supertrees.cpp:67:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | for (int j=0; j<grp[i].size(); j++)
| ~^~~~~~~~~~~~~~
supertrees.cpp:70:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | for (int k=j+1; k<grp[i].size(); k++)
| ~^~~~~~~~~~~~~~
supertrees.cpp:82:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
82 | for (int i=0; i<grp.size(); i++)
| ~^~~~~~~~~~~
supertrees.cpp:84:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
84 | for (int j=1; j<grp[i].size(); j++)
| ~^~~~~~~~~~~~~~
supertrees.cpp:117:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
117 | for (int i=0; i<grp.size(); i++)
| ~^~~~~~~~~~~
supertrees.cpp:121:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
121 | for (int j=0; j<grp[i].size(); j++)
| ~^~~~~~~~~~~~~~
supertrees.cpp:124:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
124 | for (int k=j+1; k<grp[i].size(); k++)
| ~^~~~~~~~~~~~~~
supertrees.cpp:136:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
136 | for (int i=0; i<grp.size(); i++)
| ~^~~~~~~~~~~
supertrees.cpp:138:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
138 | for (int j=1; j<grp[i].size(); j++)
| ~^~~~~~~~~~~~~~
supertrees.cpp:11:31: warning: variable 'subtask3' set but not used [-Wunused-but-set-variable]
11 | bool subtask1=1, subtask2=1, subtask3=1;
| ^~~~~~~~