simurgh.cpp: In function 'std::vector<int> find_roads(int, std::vector<int>, std::vector<int>)':
simurgh.cpp:18:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int i = 0 ; i < u.size() ; i++)
| ~~^~~~~~~~~~
simurgh.cpp: In lambda function:
simurgh.cpp:36:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while(nextNod < perm.size() and g[nod][perm[nextNod]] != -1)
| ~~~~~~~~^~~~~~~~~~~~~
simurgh.cpp: In function 'std::vector<int> find_roads(int, std::vector<int>, std::vector<int>)':
simurgh.cpp:54:18: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
54 | if(vans.size() == n - 1 and count_common_roads(vans) == n - 1)
| ~~~~~~~~~~~~^~~~~~~~
simurgh.cpp:16:46: warning: control reaches end of non-void function [-Wreturn-type]
16 | vector<vector<int>> g(n, vector<int> (n, -1));
| ^