stations.cpp: In function 'std::vector<int> label(int, int, std::vector<int>, std::vector<int>)':
stations.cpp:9:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rng(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
| ^
stations.cpp:10:18: note: in expansion of macro 'rng'
10 | #define rep(i,n) rng((i),(0),(n))
| ^~~
stations.cpp:22:2: note: in expansion of macro 'rep'
22 | rep(i,n-1){
| ^~~
stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:9:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rng(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
| ^
stations.cpp:10:18: note: in expansion of macro 'rng'
10 | #define rep(i,n) rng((i),(0),(n))
| ^~~
stations.cpp:71:3: note: in expansion of macro 'rep'
71 | rep(i,siz(c)){
| ^~~
stations.cpp:9:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rng(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
| ^
stations.cpp:10:18: note: in expansion of macro 'rng'
10 | #define rep(i,n) rng((i),(0),(n))
| ^~~
stations.cpp:81:3: note: in expansion of macro 'rep'
81 | rep(i,siz(c)){
| ^~~
stations.cpp:9:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rng(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
| ^
stations.cpp:10:18: note: in expansion of macro 'rng'
10 | #define rep(i,n) rng((i),(0),(n))
| ^~~
stations.cpp:87:2: note: in expansion of macro 'rep'
87 | rep(i,siz(c)){
| ^~~