messy.cpp: In function 'void dodaj(int, int)':
messy.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
messy.cpp:14:5: note: in expansion of macro 'ff'
14 | ff(i,0,(r-l+1)/2 - 1){
| ^~
messy.cpp:4:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
messy.cpp:16:9: note: in expansion of macro 'ff'
16 | ff(j,0,N - 1){
| ^~
messy.cpp: In function 'void resi(int, int, std::vector<int>)':
messy.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
messy.cpp:42:5: note: in expansion of macro 'ff'
42 | ff(i,0,N-1)ima[i] = 0;
| ^~
messy.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
messy.cpp:45:5: note: in expansion of macro 'ff'
45 | ff(i,0,r-l){
| ^~
messy.cpp:4:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
messy.cpp:48:9: note: in expansion of macro 'ff'
48 | ff(j,0,N-1){
| ^~
messy.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
messy.cpp:60:5: note: in expansion of macro 'ff'
60 | ff(i,0,N-1)ima[i] = 0;
| ^~
messy.cpp: In function 'std::vector<int> restore_permutation(int, int, int)':
messy.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
messy.cpp:73:5: note: in expansion of macro 'ff'
73 | ff(i,0,n-1)v.pb(i);
| ^~
messy.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
messy.cpp:77:5: note: in expansion of macro 'ff'
77 | ff(i,0,N-1)sol[slika[i]] = i;
| ^~
messy.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
messy.cpp:78:5: note: in expansion of macro 'ff'
78 | ff(i,0,N-1)slika[i] = sol[i];
| ^~
messy.cpp:4:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
4 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
messy.cpp:79:5: note: in expansion of macro 'ff'
79 | ff(i,0,N-1)ans.pb(slika[i]);
| ^~