supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:18:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
18 | for(auto u : p)
| ^~~
supertrees.cpp:21:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
21 | N = p.size(), fill(vis,vis+1000,false);
| ^
supertrees.cpp:31:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
31 | for(int i = 0; i < N; i++)
| ^~~
supertrees.cpp:33:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
33 | for(int i = 0; i < N; i++)
| ^~~
supertrees.cpp:35:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
35 | if(vis[i])continue; v.clear();
| ^~
supertrees.cpp:35:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
35 | if(vis[i])continue; v.clear();
| ^
supertrees.cpp:37:26: 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 < v.size()-1; j++)
| ~~^~~~~~~~~~~~
supertrees.cpp:45:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
45 | if(vis[i])continue; v.clear();
| ^~
supertrees.cpp:45:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
45 | if(vis[i])continue; v.clear();
| ^
supertrees.cpp:48:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | for(int j = 0; j < v.size(); j++)
| ~~^~~~~~~~~~
supertrees.cpp:53:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
53 | for(int i = 0; i < N; i++)
| ^~~
supertrees.cpp:56:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
56 | build(answer);
| ^~~~~