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:61:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | for(int i = 1; i < c.size(); i++){
| ~~^~~~~~~~~~
stations.cpp:68:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
68 | if(in > t || t < out) return c.back();
| ^
stations.cpp:68:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
68 | if(in > t || t < out) return c.back();
| ^~~
stations.cpp:69:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | for(int i = 0; i < c.size() - 1; i++){
| ~~^~~~~~~~~~~~~~