bank.cpp: In function 'int main()':
bank.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bank.cpp:43:5: note: in expansion of macro 'FOR'
43 | FOR(i, 0, n - 1) cin >> a[i];
| ^~~
bank.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bank.cpp:44:5: note: in expansion of macro 'FOR'
44 | FOR(i, 0, m - 1) cin >> b[i];
| ^~~
bank.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bank.cpp:45:5: note: in expansion of macro 'FOR'
45 | FOR(i, 0, n - 1) f[i] = (i > 0? f[i - 1] : 0) + a[i];
| ^~~
bank.cpp:24:31: warning: unnecessary parentheses in declaration of 'msk' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bank.cpp:46:5: note: in expansion of macro 'FOR'
46 | FOR(msk, 1, (1 << m) - 1) {
| ^~~
bank.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bank.cpp:48:6: note: in expansion of macro 'FOR'
48 | FOR(i, 0, m - 1) {
| ^~~
bank.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bank.cpp:52:6: note: in expansion of macro 'FOR'
52 | FOR(i, 0, m - 1) {
| ^~~