stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:7:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | #define loop(i, a, b) for(int i=a;i<b;++i)
......
30 | if(s==0){ loop(i, 0, c.size()) if(t<=c[i]) return c[i];}
| ~~~~~~~~~~~~~~
stations.cpp:30:15: note: in expansion of macro 'loop'
30 | if(s==0){ loop(i, 0, c.size()) if(t<=c[i]) return c[i];}
| ^~~~
stations.cpp:7:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | #define loop(i, a, b) for(int i=a;i<b;++i)
......
34 | loop(i, 0, c.size()-1) if(t<=c[i]) return c[i];
| ~~~~~~~~~~~~~~~~
stations.cpp:34:13: note: in expansion of macro 'loop'
34 | loop(i, 0, c.size()-1) if(t<=c[i]) return c[i];
| ^~~~
stations.cpp:43:1: warning: control reaches end of non-void function [-Wreturn-type]
43 | }
| ^