stations.cpp: In function 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)':
stations.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type]
31 | }
| ^
stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:37:58: error: expected ')' before ']' token
37 | return c[(int)(lower_bound(c.begin(), c.end(), t)];
| ~ ^
| )
stations.cpp:37:58: error: invalid cast from type '__gnu_cxx::__normal_iterator<int*, std::vector<int> >' to type 'int'
stations.cpp:37:59: error: expected ']' before ';' token
37 | return c[(int)(lower_bound(c.begin(), c.end(), t)];
| ^
| ]
stations.cpp:42:58: error: invalid cast from type '__gnu_cxx::__normal_iterator<int*, std::vector<int> >' to type 'int'
42 | return c[(int)(upper_bound(c.begin(), c.end(), t)) - 1];
| ^