stations.cpp: In function 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)':
stations.cpp:5:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
5 | #define rep(i, n) for(int (i)=0; (i)<(n); (i)++)
| ^
stations.cpp:24:2: note: in expansion of macro 'rep'
24 | rep(i, n-1){
| ^~~
stations.cpp:5:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
5 | #define rep(i, n) for(int (i)=0; (i)<(n); (i)++)
| ^
stations.cpp:35:2: note: in expansion of macro 'rep'
35 | rep(i, n) labels[i] = lower_bound(all(z), labels[i]) - z.begin();
| ^~~
stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:5:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
5 | #define rep(i, n) for(int (i)=0; (i)<(n); (i)++)
| ^
stations.cpp:41:2: note: in expansion of macro 'rep'
41 | rep(i, c.size()){
| ^~~
stations.cpp:5:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define rep(i, n) for(int (i)=0; (i)<(n); (i)++)
| ~~~^~~~
stations.cpp:41:2: note: in expansion of macro 'rep'
41 | rep(i, c.size()){
| ^~~
stations.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define repi(i, a, b) for(int (i)=(a); (i)<(b); (i)++)
| ^
stations.cpp:45:3: note: in expansion of macro 'repi'
45 | repi(i, 1, c.size()-1){
| ^~~~
stations.cpp:6:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | #define repi(i, a, b) for(int (i)=(a); (i)<(b); (i)++)
| ~~~^~~~
stations.cpp:45:3: note: in expansion of macro 'repi'
45 | repi(i, 1, c.size()-1){
| ^~~~
stations.cpp:6:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define repi(i, a, b) for(int (i)=(a); (i)<(b); (i)++)
| ^
stations.cpp:52:3: note: in expansion of macro 'repi'
52 | repi(i, 1, c.size()-1){
| ^~~~
stations.cpp:6:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | #define repi(i, a, b) for(int (i)=(a); (i)<(b); (i)++)
| ~~~^~~~
stations.cpp:52:3: note: in expansion of macro 'repi'
52 | repi(i, 1, c.size()-1){
| ^~~~