jobs.cpp: In function 'bool check(int)':
jobs.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
jobs.cpp:42:2: note: in expansion of macro 'FOR'
42 | FOR(i, 1, n) {
| ^~~
jobs.cpp:26:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
26 | #define EACH(i, x) for (auto &(i) : (x))
| ^
jobs.cpp:43:3: note: in expansion of macro 'EACH'
43 | EACH(j, a[i]) a1.pb(j);
| ^~~~
jobs.cpp:24:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
jobs.cpp:45:3: note: in expansion of macro 'FOR'
45 | FOR(j, 1, cnt) {
| ^~~
jobs.cpp: In function 'int main()':
jobs.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
jobs.cpp:58:5: note: in expansion of macro 'FOR'
58 | FOR(i, 1, m) {
| ^~~
jobs.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
jobs.cpp:73:2: note: in expansion of macro 'FOR'
73 | FOR(i, 1, n) {
| ^~~
jobs.cpp:26:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
26 | #define EACH(i, x) for (auto &(i) : (x))
| ^
jobs.cpp:74:3: note: in expansion of macro 'EACH'
74 | EACH(j, a[i]) a1.pb(j);
| ^~~~
jobs.cpp:24:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
jobs.cpp:76:3: note: in expansion of macro 'FOR'
76 | FOR(j, 1, cnt) {
| ^~~