bootfall.cpp: In function 'void add(int)':
bootfall.cpp:33:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
33 | #define FOS(i, r, l) for (int (i) = (r); (i) >= (l); --(i))
| ^
bootfall.cpp:56:19: note: in expansion of macro 'FOS'
56 | void add(int x) { FOS(i, NxN - 1, x) d[i] = (d[i] + d[i - x]) % M; }
| ^~~
bootfall.cpp: In function 'void del(int)':
bootfall.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:57:19: note: in expansion of macro 'FOR'
57 | void del(int x) { FOR(i, x, NxN - 1) d[i] = (d[i] - d[i - x] + M) % M; }
| ^~~
bootfall.cpp: In function 'int main()':
bootfall.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:63:5: note: in expansion of macro 'FOR'
63 | FOR(i, 1, n) {
| ^~~
bootfall.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:72:5: note: in expansion of macro 'FOR'
72 | FOR(i, 1, n) add(a[i]);
| ^~~
bootfall.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:77:5: note: in expansion of macro 'FOR'
77 | FOR(i, 1, NxN - 1) c[i] = 1;
| ^~~
bootfall.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:78:5: note: in expansion of macro 'FOR'
78 | FOR(i, 1, n) {
| ^~~
bootfall.cpp:32:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:80:6: note: in expansion of macro 'FOR'
80 | FOR(j, 1, NxN - 1) {
| ^~~
bootfall.cpp:32:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
32 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:91:5: note: in expansion of macro 'FOR'
91 | FOR(i, 1, NxN - 1)
| ^~~
bootfall.cpp:36:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
36 | #define EACH(i, x) for (auto &(i) : (x))
| ^
bootfall.cpp:95:5: note: in expansion of macro 'EACH'
95 | EACH(i, ans) cout << i << ' ';
| ^~~~