jumps.cpp: In function 'void init(int, std::vector<int>)':
jumps.cpp:3:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
3 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
jumps.cpp:17:5: note: in expansion of macro 'ff'
17 | ff(i,0,n - 1){
| ^~
jumps.cpp:3:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
3 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
jumps.cpp:22:5: note: in expansion of macro 'ff'
22 | ff(i,1,n){
| ^~
jumps.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define fb(i,a,b) for(int (i) = (a); (i) >= (b); --(i))
| ^
jumps.cpp:28:5: note: in expansion of macro 'fb'
28 | fb(i,n,1){
| ^~
jumps.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define fb(i,a,b) for(int (i) = (a); (i) >= (b); --(i))
| ^
jumps.cpp:33:5: note: in expansion of macro 'fb'
33 | fb(i,n,1){
| ^~
jumps.cpp:3:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
3 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
jumps.cpp:34:9: note: in expansion of macro 'ff'
34 | ff(j,1,18)desno[i][j] = desno[desno[i][j - 1]][j - 1];
| ^~
jumps.cpp:3:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
3 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
jumps.cpp:36:5: note: in expansion of macro 'ff'
36 | ff(i,1,n){
| ^~
jumps.cpp:3:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
3 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
jumps.cpp:37:9: note: in expansion of macro 'ff'
37 | ff(j,1,18)levo[i][j] = levo[levo[i][j - 1]][j - 1];
| ^~
jumps.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define fb(i,a,b) for(int (i) = (a); (i) >= (b); --(i))
| ^
jumps.cpp:39:5: note: in expansion of macro 'fb'
39 | fb(i,n - 1,1){
| ^~
jumps.cpp:3:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
3 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
jumps.cpp:44:9: note: in expansion of macro 'ff'
44 | ff(j,1,18)pravi[sta][j] = pravi[pravi[sta][j - 1]][j - 1];
| ^~
jumps.cpp: In function 'int dist(int, int)':
jumps.cpp:4:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
4 | #define fb(i,a,b) for(int (i) = (a); (i) >= (b); --(i))
| ^
jumps.cpp:54:5: note: in expansion of macro 'fb'
54 | fb(j,18,0){
| ^~
jumps.cpp:4:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
4 | #define fb(i,a,b) for(int (i) = (a); (i) >= (b); --(i))
| ^
jumps.cpp:60:5: note: in expansion of macro 'fb'
60 | fb(j,18,0){
| ^~
jumps.cpp: In function 'int minimum_jumps(int, int, int, int)':
jumps.cpp:4:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
4 | #define fb(i,a,b) for(int (i) = (a); (i) >= (b); --(i))
| ^
jumps.cpp:78:5: note: in expansion of macro 'fb'
78 | fb(j,18,0){
| ^~
jumps.cpp:4:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
4 | #define fb(i,a,b) for(int (i) = (a); (i) >= (b); --(i))
| ^
jumps.cpp:84:5: note: in expansion of macro 'fb'
84 | fb(j,18,0){
| ^~
jumps.cpp:4:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
4 | #define fb(i,a,b) for(int (i) = (a); (i) >= (b); --(i))
| ^
jumps.cpp:92:5: note: in expansion of macro 'fb'
92 | fb(j,18,0){
| ^~
jumps.cpp:4:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
4 | #define fb(i,a,b) for(int (i) = (a); (i) >= (b); --(i))
| ^
jumps.cpp:100:5: note: in expansion of macro 'fb'
100 | fb(j,18,0){
| ^~