stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:19:30: error: invalid types 'int[int]' for array subscript
19 | if (c.size()==1){return s[0];}
| ^
stations.cpp:28:41: error: invalid types 'int[int]' for array subscript
28 | if (lb<=t && t<=rb){return s[0];}
| ^
stations.cpp:31:17: error: invalid types 'int[int]' for array subscript
31 | return s[1];
| ^
stations.cpp:42:41: error: invalid types 'int[int]' for array subscript
42 | if (lb<=t && t<=rb){return s[1];}
| ^
stations.cpp:52:45: error: invalid types 'int[int]' for array subscript
52 | if (lb<=t && t<=rb){return s[2];}
| ^
stations.cpp:55:17: error: invalid types 'int[int]' for array subscript
55 | return s[0];
| ^