stations.cpp: In function 'int dfs1(int, int)':
stations.cpp:10:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for(int i = 0;i < path[x].size();i++){
| ~~^~~~~~~~~~~~~~~~
stations.cpp: In function 'int dfs2(int)':
stations.cpp:19:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i = 0;i < path[x].size();i++){
| ~~^~~~~~~~~~~~~~~~
stations.cpp: In function 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)':
stations.cpp:42:1: warning: no return statement in function returning non-void [-Wreturn-type]
42 | }
| ^
stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | for(int i = 0;i < c.size();i++){
| ~~^~~~~~~~~~
stations.cpp:63:23: warning: 'reti' may be used uninitialized in this function [-Wmaybe-uninitialized]
63 | else return c[reti];
| ^