savrsen.cpp: In function 'int main()':
savrsen.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
savrsen.cpp:15:2: note: in expansion of macro 'ff'
15 | ff(i,1,1e7){
| ^~
savrsen.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
savrsen.cpp:21:2: note: in expansion of macro 'ff'
21 | ff(i,a,b)ans += abs(i-sum[i]);
| ^~