shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:9:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rng(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
| ^
shoes.cpp:10:18: note: in expansion of macro 'rng'
10 | #define rep(i,n) rng((i),(0),(n))
| ^~~
shoes.cpp:49:2: note: in expansion of macro 'rep'
49 | rep(i,2*n){
| ^~~
shoes.cpp:9:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rng(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
| ^
shoes.cpp:10:18: note: in expansion of macro 'rng'
10 | #define rep(i,n) rng((i),(0),(n))
| ^~~
shoes.cpp:56:2: note: in expansion of macro 'rep'
56 | rep(i,2*n){
| ^~~
shoes.cpp:9:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define rng(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
| ^
shoes.cpp:10:18: note: in expansion of macro 'rng'
10 | #define rep(i,n) rng((i),(0),(n))
| ^~~
shoes.cpp:64:2: note: in expansion of macro 'rep'
64 | rep(i,2*n){
| ^~~