fortune_telling2.cpp: In function 'int main()':
fortune_telling2.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
fortune_telling2.cpp:60:5: note: in expansion of macro 'ff'
60 | ff(i,1,n){
| ^~
fortune_telling2.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
fortune_telling2.cpp:65:5: note: in expansion of macro 'ff'
65 | ff(i,1,k){
| ^~
fortune_telling2.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
fortune_telling2.cpp:72:5: note: in expansion of macro 'ff'
72 | ff(i,1,n){
| ^~
fortune_telling2.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
fortune_telling2.cpp:116:5: note: in expansion of macro 'ff'
116 | ff(i,1,k)svi.pb(val[i].xx);
| ^~
fortune_telling2.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
fortune_telling2.cpp:117:5: note: in expansion of macro 'ff'
117 | ff(i,1,n){
| ^~
fortune_telling2.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
fortune_telling2.cpp:130:5: note: in expansion of macro 'ff'
130 | ff(i,1,n){
| ^~
fortune_telling2.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
fortune_telling2.cpp:134:5: note: in expansion of macro 'ff'
134 | ff(i,1,k)val[i].xx = poj[val[i].xx];
| ^~
fortune_telling2.cpp:3:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
3 | #define fb(i,a,b) for(int (i) = (a); (i) >= (b); --(i))
| ^
fortune_telling2.cpp:135:5: note: in expansion of macro 'fb'
135 | fb(i,k,1){
| ^~
fortune_telling2.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
fortune_telling2.cpp:144:5: note: in expansion of macro 'ff'
144 | ff(i,1,n)sum += orig[i].xx;
| ^~