joi2019_ho_t3.cpp: In function 'int main()':
joi2019_ho_t3.cpp:30:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
joi2019_ho_t3.cpp:59:5: note: in expansion of macro 'FOR'
59 | FOR(i, 1, n) {
| ^~~
joi2019_ho_t3.cpp:30:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
joi2019_ho_t3.cpp:64:5: note: in expansion of macro 'FOR'
64 | FOR(i, 1, n)
| ^~~
joi2019_ho_t3.cpp:30:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
joi2019_ho_t3.cpp:65:5: note: in expansion of macro 'FOR'
65 | FOR(j, 0, 2) {
| ^~~
joi2019_ho_t3.cpp:30:31: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
30 | #define FOR(i, l, r) for (int (i) = (l); (i) <= (r); ++(i))
| ^
joi2019_ho_t3.cpp:67:6: note: in expansion of macro 'FOR'
67 | FOR(z, 1, c[j]) d2[i][j][z] = d2[i][j][z - 1] + (pos[j][z] > i? 1 : 0);
| ^~~
joi2019_ho_t3.cpp:33:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
33 | #define FSN(i, n) for (int (i) = (n) - 1; (i) >= 0; --(i))
| ^
joi2019_ho_t3.cpp:69:5: note: in expansion of macro 'FSN'
69 | FSN(i, c[0] + 1) {
| ^~~
joi2019_ho_t3.cpp:33:28: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
33 | #define FSN(i, n) for (int (i) = (n) - 1; (i) >= 0; --(i))
| ^
joi2019_ho_t3.cpp:70:6: note: in expansion of macro 'FSN'
70 | FSN(j, c[1] + 1)
| ^~~
joi2019_ho_t3.cpp:33:28: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
33 | #define FSN(i, n) for (int (i) = (n) - 1; (i) >= 0; --(i))
| ^
joi2019_ho_t3.cpp:71:6: note: in expansion of macro 'FSN'
71 | FSN(z, c[2] + 1)
| ^~~
joi2019_ho_t3.cpp:33:28: warning: unnecessary parentheses in declaration of 'x' [-Wparentheses]
33 | #define FSN(i, n) for (int (i) = (n) - 1; (i) >= 0; --(i))
| ^
joi2019_ho_t3.cpp:72:6: note: in expansion of macro 'FSN'
72 | FSN(x, 3) {
| ^~~
joi2019_ho_t3.cpp:33:28: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
33 | #define FSN(i, n) for (int (i) = (n) - 1; (i) >= 0; --(i))
| ^
joi2019_ho_t3.cpp:83:6: note: in expansion of macro 'FSN'
83 | FSN(j, c[1] + 1)
| ^~~
joi2019_ho_t3.cpp:33:28: warning: unnecessary parentheses in declaration of 'z' [-Wparentheses]
33 | #define FSN(i, n) for (int (i) = (n) - 1; (i) >= 0; --(i))
| ^
joi2019_ho_t3.cpp:84:6: note: in expansion of macro 'FSN'
84 | FSN(z, c[2] + 1)
| ^~~
joi2019_ho_t3.cpp:33:28: warning: unnecessary parentheses in declaration of 'x' [-Wparentheses]
33 | #define FSN(i, n) for (int (i) = (n) - 1; (i) >= 0; --(i))
| ^
joi2019_ho_t3.cpp:85:6: note: in expansion of macro 'FSN'
85 | FSN(x, 3)
| ^~~