simurgh.cpp: In function 'std::vector<int> find_roads(int, std::vector<int>, std::vector<int>)':
simurgh.cpp:24:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for (int i = 0; i < u.size(); i ++) {
| ~~^~~~~~~~~~
simurgh.cpp:48:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | for (int i = 0; i < u.size(); i ++) if (ans[i]) res.push_back(i);
| ~~^~~~~~~~~~
/usr/bin/ld: /tmp/cc6cfYYO.o: in function `find_roads(int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)':
simurgh.cpp:(.text+0x217): undefined reference to `count_common_roads(std::vector<int, std::allocator<int> >)'
/usr/bin/ld: simurgh.cpp:(.text+0x30c): undefined reference to `count_common_roads(std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status