simurgh.cpp: In function 'std::vector<int> find_roads(int, std::vector<int>, std::vector<int>)':
simurgh.cpp:58:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::vector<int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | for(int i = 0;i<v.size();i++){
| ~^~~~~~~~~
simurgh.cpp:71:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::vector<int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for(int j = 0;j<v.size();j++){
| ~^~~~~~~~~
simurgh.cpp:92:19: error: cannot convert '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, std::vector<int> > >, std::pair<int, std::vector<int> > >::value_type' {aka 'std::pair<int, std::vector<int> >'} to 'int'
92 | f2[Find2(v[it])]=Find2(u[it]);
| ^
| |
| __gnu_cxx::__alloc_traits<std::allocator<std::pair<int, std::vector<int> > >, std::pair<int, std::vector<int> > >::value_type {aka std::pair<int, std::vector<int> >}
simurgh.cpp:2:11: note: initializing argument 1 of 'int Find2(int)'
2 | #define x first
| ^
simurgh.cpp:13:15: note: in expansion of macro 'x'
13 | int Find2(int x){
| ^