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:16:5: note: in expansion of macro 'ff'
16 | ff(i,0,n - 1)niz[i + 1] = H[i];
| ^~
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:18:5: note: in expansion of macro 'ff'
18 | 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:24:5: note: in expansion of macro 'fb'
24 | 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:29:5: note: in expansion of macro 'fb'
29 | 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:30:9: note: in expansion of macro 'ff'
30 | 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:32:5: note: in expansion of macro 'ff'
32 | 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:33:9: note: in expansion of macro 'ff'
33 | 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:35:5: note: in expansion of macro 'fb'
35 | 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:39:9: note: in expansion of macro 'ff'
39 | ff(j,1,18)pravi[i][j] = pravi[pravi[i][j - 1]][j - 1];
| ^~
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:52:5: note: in expansion of macro 'fb'
52 | 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:58:5: note: in expansion of macro 'fb'
58 | 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:64:5: note: in expansion of macro 'fb'
64 | 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:73:5: note: in expansion of macro 'fb'
73 | 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:79:5: note: in expansion of macro 'fb'
79 | fb(j,18,0){
| ^~