supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:37:20: 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 < grp[i].size(); i++){
| ~~^~~~~~~~~~~~~~~
supertrees.cpp:38:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(int k = 0; k < grp[i].size(); k++){
| ~~^~~~~~~~~~~~~~~
supertrees.cpp:43:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for(int j = 1; j < grp[i].size(); i++){
| ~~^~~~~~~~~~~~~~~
supertrees.cpp: In function 'void uni(int, int)':
supertrees.cpp:64:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | for(int i = 0; i < grp[b].size(); i++)
| ~~^~~~~~~~~~~~~~~