stations.cpp:20:20: error: 'n' was not declared in this scope; did you mean 'in'?
20 | vector<int> labels(n);
| ^
| in
stations.cpp: In function 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)':
stations.cpp:37:19: 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 < u.size(); i++){
| ~~^~~~~~~~~~
stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:53:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(int i = 0;i < c.size()-1; i++){
| ~~^~~~~~~~~~~~
stations.cpp:64:1: warning: control reaches end of non-void function [-Wreturn-type]
64 | }
| ^