stations.cpp: In function 'void dfs(int, int)':
stations.cpp:9:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | for (int j=0;j<vec[x].size();j++){
| ~^~~~~~~~~~~~~~
stations.cpp: In function 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)':
stations.cpp:23:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for (int i=0;i<u.size();i++){
| ~^~~~~~~~~
stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:37:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (int i=0;i<c.size();i++){
| ~^~~~~~~~~
stations.cpp:43:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for (int i=0;i<c.size();i++){
| ~^~~~~~~~~
stations.cpp:44:60: error: 'x' was not declared in this scope
44 | if (Int < c[i]/1001 && c[i]%1001 < Out) return x;
| ^
stations.cpp:35:22: warning: unused variable 'Outs' [-Wunused-variable]
35 | int Ins = s/1001,Outs = s%1001,Int = t/1001,Out = t%1001;
| ^~~~