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:41:2: note: in expansion of macro 'FOR'
41 | FOR(i, 1, m) {
| ^~~
jobs.cpp:24:31: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
jobs.cpp:44:3: note: in expansion of macro 'FOR'
44 | FOR(z, i, j)
| ^~~
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:56:5: note: in expansion of macro 'FOR'
56 | 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:72:5: note: in expansion of macro 'FOR'
72 | FOR(i, 1, m) {
| ^~~
jobs.cpp:24:31: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
jobs.cpp:75:3: note: in expansion of macro 'FOR'
75 | FOR(z, i, j) cout << t[z].nd << ' ';
| ^~~
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:79:5: note: in expansion of macro 'FOR'
79 | FOR(i, timer + 1, n) cout << 0 << '\n';
| ^~~