walk.cpp: In constructor 'sptable::sptable(std::vector<int>)':
walk.cpp:10:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
10 | #define rng(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
| ^
walk.cpp:11:18: note: in expansion of macro 'rng'
11 | #define rep(i,n) rng((i),(0),(n))
| ^~~
walk.cpp:28:3: note: in expansion of macro 'rep'
28 | rep(i,n) dat[0][i]=v[i];
| ^~~
walk.cpp:10:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
10 | #define rng(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
| ^
walk.cpp:29:3: note: in expansion of macro 'rng'
29 | rng(i,0,lgt[n]){
| ^~~
walk.cpp: In function 'long long int min_distance(std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, int, int)':
walk.cpp:10:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
10 | #define rng(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
| ^
walk.cpp:11:18: note: in expansion of macro 'rng'
11 | #define rep(i,n) rng((i),(0),(n))
| ^~~
walk.cpp:53:2: note: in expansion of macro 'rep'
53 | rep(i,n) pos[i].pb(H{0,i});
| ^~~
walk.cpp:10:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
10 | #define rng(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
| ^
walk.cpp:11:18: note: in expansion of macro 'rng'
11 | #define rep(i,n) rng((i),(0),(n))
| ^~~
walk.cpp:56:2: note: in expansion of macro 'rep'
56 | rep(i,m){
| ^~~
walk.cpp:10:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
10 | #define rng(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
| ^
walk.cpp:11:18: note: in expansion of macro 'rng'
11 | #define rep(i,n) rng((i),(0),(n))
| ^~~
walk.cpp:74:2: note: in expansion of macro 'rep'
74 | rep(i,n){
| ^~~
walk.cpp:10:28: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
10 | #define rng(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
| ^
walk.cpp:11:18: note: in expansion of macro 'rng'
11 | #define rep(i,n) rng((i),(0),(n))
| ^~~
walk.cpp:76:3: note: in expansion of macro 'rep'
76 | rep(j,siz(pos[i])-1){
| ^~~