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:40:5: note: in expansion of macro 'ff'
40 | 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:43:5: note: in expansion of macro 'ff'
43 | 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:46:9: note: in expansion of macro 'ff'
46 | 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:58:5: note: in expansion of macro 'ff'
58 | 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:71:5: note: in expansion of macro 'ff'
71 | 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:75:5: note: in expansion of macro 'ff'
75 | ff(i,0,N-1)ans.pb(slika[i]);
| ^~