simurgh.cpp: In function 'void dfs(int)':
simurgh.cpp:44:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
44 | for(auto [v,edge]:g[u])
| ^
simurgh.cpp: In function 'void rep(int, int)':
simurgh.cpp:53:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(int i=0;i<edges.size();i++)
| ~^~~~~~~~~~~~~
simurgh.cpp: In function 'int rec(int, int, int)':
simurgh.cpp:85:30: error: too few arguments to function 'int rec(int, int, int)'
85 | if(cnt>0)return rec(l,mid);
| ^
simurgh.cpp:59:5: note: declared here
59 | int rec(int l,int r,int all)
| ^~~
simurgh.cpp:86:23: error: too few arguments to function 'int rec(int, int, int)'
86 | return rec(mid+1,r);
| ^
simurgh.cpp:59:5: note: declared here
59 | int rec(int l,int r,int all)
| ^~~
simurgh.cpp: In function 'std::vector<int> find_roads(int, std::vector<int>, std::vector<int>)':
simurgh.cpp:108:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
108 | for(auto [v,edge]:g[u])
| ^
simurgh.cpp:112:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
112 | for(auto [v,edge]:g[u])
| ^
simurgh.cpp:166:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
166 | for(auto [v,edge]:g[u])checked[edge]=1;
| ^
simurgh.cpp:185:26: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
185 | for(auto [v,edge]:g[u])
| ^
simurgh.cpp:212:26: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
212 | for(auto [v,edge]:g[u])
| ^