ho_t1.cpp: In function 'int main()':
ho_t1.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
ho_t1.cpp:44:5: note: in expansion of macro 'FOR'
44 | FOR(i, 1, n + 1) {
| ^~~
ho_t1.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
ho_t1.cpp:48:5: note: in expansion of macro 'FOR'
48 | FOR(i, 1, n) cin >> b[i];
| ^~~
ho_t1.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
ho_t1.cpp:51:5: note: in expansion of macro 'FOR'
51 | FOR(i, 1, n + 1) d[i] = max(d[i - 1], a[i].st - b[i]);
| ^~~
ho_t1.cpp:25:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
25 | #define FOS(i, r, l) for (int (i) = (r); (i) >= (l); --(i))
| ^
ho_t1.cpp:52:5: note: in expansion of macro 'FOS'
52 | FOS(i, n + 1, 1) d1[i] = max(d1[i + 1], a[i].st - b[i - 1]);
| ^~~
ho_t1.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
ho_t1.cpp:53:5: note: in expansion of macro 'FOR'
53 | FOR(i, 1, n + 1) ans[i] = max(d[i - 1], d1[i + 1]);
| ^~~
ho_t1.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
ho_t1.cpp:54:5: note: in expansion of macro 'FOR'
54 | FOR(i, 1, n + 1) cout << ans[i] << ' ';
| ^~~