simurgh.cpp: In function 'void dfs(int, int)':
simurgh.cpp:35:11: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
35 | for(auto [v,id] : g[u]){
| ^
simurgh.cpp: In function 'std::vector<int> find_roads(int, std::vector<int>, std::vector<int>)':
simurgh.cpp:9:18: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
9 | #define f(i,a,b) for(int i=a;i<b;i++)
| ^~~
simurgh.cpp:55:3: note: in expansion of macro 'f'
55 | f(i,0,n) comp[i]=Max[i]=0,cnt[i]=-1; comp[u]=1;
| ^
simurgh.cpp:55:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
55 | f(i,0,n) comp[i]=Max[i]=0,cnt[i]=-1; comp[u]=1;
| ^~~~
simurgh.cpp:9:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | #define f(i,a,b) for(int i=a;i<b;i++)
......
57 | f(i,0,g[u].size()) if(g[u][i].F==par[u]) swap(g[u][0],g[u][i]);
| ~~~~~~~~~~~~~~~
simurgh.cpp:57:3: note: in expansion of macro 'f'
57 | f(i,0,g[u].size()) if(g[u][i].F==par[u]) swap(g[u][0],g[u][i]);
| ^
simurgh.cpp:58:12: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
58 | for(auto [v,id] : g[u]){
| ^
simurgh.cpp:67:12: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
67 | for(auto [v,id] : g[u]){
| ^
simurgh.cpp:73:12: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
73 | for(auto [v,id] : g[u]){
| ^
simurgh.cpp:85:12: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
85 | for(auto [v,id] : g[u]){
| ^