tents.cpp: In function 'int main()':
tents.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
tents.cpp:44:5: note: in expansion of macro 'FOR'
44 | FOR(i, 0, h)
| ^~~
tents.cpp:24:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
tents.cpp:45:5: note: in expansion of macro 'FOR'
45 | FOR(j, 0, w)
| ^~~
tents.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
tents.cpp:48:5: note: in expansion of macro 'FOR'
48 | FOR(i, 0, max(h, w))
| ^~~
tents.cpp:24:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
tents.cpp:49:5: note: in expansion of macro 'FOR'
49 | FOR(j, 0, i)
| ^~~
tents.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
tents.cpp:54:5: note: in expansion of macro 'FOR'
54 | FOR(i, 1, max(h, w)) {
| ^~~
tents.cpp:24:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
tents.cpp:58:5: note: in expansion of macro 'FOR'
58 | FOR(i, 0, min(h, w / 2)) {
| ^~~
tents.cpp:24:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
24 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
tents.cpp:61:6: note: in expansion of macro 'FOR'
61 | FOR(j, 0, min(rmy, rmx / 2)) {
| ^~~