bootfall.cpp: In function 'void fft(pn&, bool)':
bootfall.cpp:34:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
34 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:58:2: note: in expansion of macro 'FOR'
58 | FOR(i, 1, n - 1) {
| ^~~
bootfall.cpp:36:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
36 | #define FRN(i, n) for (int (i) = 0; (i) < (n); ++(i))
| ^
bootfall.cpp:80:11: note: in expansion of macro 'FRN'
80 | if (inv) FRN(i, n) a[i] /= n;
| ^~~
bootfall.cpp: In function 'pn multiply(pn, pn)':
bootfall.cpp:36:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
36 | #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] *= b[i];
| ^~~
bootfall.cpp:36:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
36 | #define FRN(i, n) for (int (i) = 0; (i) < (n); ++(i))
| ^
bootfall.cpp:91:2: note: in expansion of macro 'FRN'
91 | FRN(i, n) a[i] = round(a[i].real());
| ^~~
bootfall.cpp: In function 'int main()':
bootfall.cpp:34:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
34 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:104:5: note: in expansion of macro 'FOR'
104 | FOR(i, 1, n) {
| ^~~
bootfall.cpp:34:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
34 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:113:5: note: in expansion of macro 'FOR'
113 | FOR(i, 1, n) d[i] = d[i - 1] | (d[i - 1] << a[i]);
| ^~~
bootfall.cpp:35:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
35 | #define FOS(i, r, l) for (int (i) = (r); (i) >= (l); --(i))
| ^
bootfall.cpp:118:5: note: in expansion of macro 'FOS'
118 | FOS(i, n, 1) d1[i] = d1[i + 1] | (d1[i + 1] << a[i]);
| ^~~
bootfall.cpp:34:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
34 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:119:5: note: in expansion of macro 'FOR'
119 | FOR(i, 1, 500 * n) c[i] = 1;
| ^~~
bootfall.cpp:34:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
34 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:120:5: note: in expansion of macro 'FOR'
120 | FOR(i, 1, n) {
| ^~~
bootfall.cpp:34:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
34 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:122:6: note: in expansion of macro 'FOR'
122 | FOR(j, 0, 500 * (i - 1)) p[j] = d[i - 1][j];
| ^~~
bootfall.cpp:34:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
34 | #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, 0, 500 * (n - i)) p1[j] = d1[i + 1][j];
| ^~~
bootfall.cpp:34:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
34 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:125:6: note: in expansion of macro 'FOR'
125 | FOR(j, 1, 500 * n) {
| ^~~
bootfall.cpp:34:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
34 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bootfall.cpp:140:5: note: in expansion of macro 'FOR'
140 | FOR(i, 1, 500 * n) {
| ^~~
bootfall.cpp:38:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
38 | #define EACH(i, x) for (auto &(i) : (x))
| ^
bootfall.cpp:145:5: note: in expansion of macro 'EACH'
145 | EACH(i, ans) cout << i << ' ';
| ^~~~