supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:30:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int i=0;i<x.size();i++){
| ~^~~~~~~~~
supertrees.cpp:32:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int j=0;j<x.size();j++){
| ~^~~~~~~~~
supertrees.cpp:38:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(int i=0;i<x.size();i++){
| ~^~~~~~~~~
supertrees.cpp:39:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for(int j=0;j<x.size();j++){
| ~^~~~~~~~~
supertrees.cpp:95:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
95 | if(x[i][j]==2 && (!New_Boss[i]==New_Boss[j] || query(i)==query(j))) answer=0;
| ^~
supertrees.cpp:95:31: note: add parentheses around left hand side expression to silence this warning
95 | if(x[i][j]==2 && (!New_Boss[i]==New_Boss[j] || query(i)==query(j))) answer=0;
| ^~~~~~~~~~~~
| ( )
supertrees.cpp:96:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
96 | if(x[i][j]==1 && (!New_Boss[i]==New_Boss[j] || !query(i)==query(j))) answer=0;
| ^~
supertrees.cpp:96:31: note: add parentheses around left hand side expression to silence this warning
96 | if(x[i][j]==1 && (!New_Boss[i]==New_Boss[j] || !query(i)==query(j))) answer=0;
| ^~~~~~~~~~~~
| ( )
supertrees.cpp:96:69: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
96 | if(x[i][j]==1 && (!New_Boss[i]==New_Boss[j] || !query(i)==query(j))) answer=0;
| ^~
supertrees.cpp:96:60: note: add parentheses around left hand side expression to silence this warning
96 | if(x[i][j]==1 && (!New_Boss[i]==New_Boss[j] || !query(i)==query(j))) answer=0;
| ^~~~~~~~~
| ( )
supertrees.cpp:37:9: warning: variable 'check' set but not used [-Wunused-but-set-variable]
37 | int check=0;
| ^~~~~