bootfall.cpp: In function 'void fft(pn&, bool)':
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:56:2: note: in expansion of macro 'FOR'
56 | FOR(i, 1, n - 1) {
| ^~~
bootfall.cpp:34:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
34 | #define FRN(i, n) for (int (i) = 0; (i) < (n); ++(i))
| ^
bootfall.cpp:78:11: note: in expansion of macro 'FRN'
78 | if (inv) FRN(i, n) a[i] /= n;
| ^~~
bootfall.cpp: In function 'pn multiply(pn, pn)':
bootfall.cpp:34:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
34 | #define FRN(i, n) for (int (i) = 0; (i) < (n); ++(i))
| ^
bootfall.cpp:87:2: note: in expansion of macro 'FRN'
87 | FRN(i, n) a[i] *= b[i];
| ^~~
bootfall.cpp:34:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
34 | #define FRN(i, n) for (int (i) = 0; (i) < (n); ++(i))
| ^
bootfall.cpp:89:2: note: in expansion of macro 'FRN'
89 | FRN(i, n) a[i] = round(a[i].real());
| ^~~
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:102:5: note: in expansion of macro 'FOR'
102 | 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:111:5: note: in expansion of macro 'FOR'
111 | FOR(i, 1, n) d[i] = d[i - 1] | (d[i - 1] << a[i]);
| ^~~
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:116:5: note: in expansion of macro 'FOS'
116 | FOS(i, n, 1) d1[i] = d1[i + 1] | (d1[i + 1] << 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:117:5: note: in expansion of macro 'FOR'
117 | FOR(i, 1, 500 * n) 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:118:5: note: in expansion of macro 'FOR'
118 | 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:120:6: note: in expansion of macro 'FOR'
120 | FOR(j, 0, 500 * (i - 1)) p[j] = d[i - 1][j];
| ^~~
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:121:6: note: in expansion of macro 'FOR'
121 | FOR(j, 0, 500 * (n - i)) p1[j] = d1[i + 1][j];
| ^~~
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:123:6: note: in expansion of macro 'FOR'
123 | FOR(j, 1, 500 * 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:138:5: note: in expansion of macro 'FOR'
138 | FOR(i, 1, 500 * n) {
| ^~~
bootfall.cpp:36:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
36 | #define EACH(i, x) for (auto &(i) : (x))
| ^
bootfall.cpp:143:5: note: in expansion of macro 'EACH'
143 | EACH(i, ans) cout << i << ' ';
| ^~~~