bridge.cpp: In function 'void subtask1::solve()':
bridge.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bridge.cpp:43:3: note: in expansion of macro 'FOR'
43 | FOR(i, 1, n) {
| ^~~
bridge.cpp:26:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
26 | #define EACH(i, x) for (auto &(i) : (x))
| ^
bridge.cpp:47:3: note: in expansion of macro 'EACH'
47 | EACH(i, b) {
| ^~~~
bridge.cpp:24:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bridge.cpp:49:4: note: in expansion of macro 'FOR'
49 | FOR(j, 1, n)
| ^~~
bridge.cpp: In function 'void subtask2::solve()':
bridge.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bridge.cpp:65:3: note: in expansion of macro 'FOR'
65 | FOR(i, 1, n) tv += a[i].nd - a[i].st + 1;
| ^~~
bridge.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bridge.cpp:67:3: note: in expansion of macro 'FOR'
67 | FOR(i, 1, n) {
| ^~~
bridge.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bridge.cpp:75:3: note: in expansion of macro 'FOR'
75 | FOR(i, 0, sz(b) - 1) {
| ^~~
bridge.cpp:25:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
25 | #define FOS(i, r, l) for (int (i) = (r); (i) >= (l); --(i))
| ^
bridge.cpp:89:3: note: in expansion of macro 'FOS'
89 | FOS(i, sz(b) - 1, 0) {
| ^~~
bridge.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bridge.cpp:101:3: note: in expansion of macro 'FOR'
101 | FOR(i, 0, sz(b) - 1) {
| ^~~
bridge.cpp: In function 'int main()':
bridge.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
bridge.cpp:114:5: note: in expansion of macro 'FOR'
114 | FOR(i, 1, n) {
| ^~~