sails.cpp: In function 'int32_t main()':
sails.cpp:18:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define FOR(i, a, b) for (int (i) = a; (i) <= (b); i++)
| ^
sails.cpp:40:5: note: in expansion of macro 'FOR'
40 | FOR(i, 1, n) {
| ^~~
sails.cpp:18:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define FOR(i, a, b) for (int (i) = a; (i) <= (b); i++)
| ^
sails.cpp:48:5: note: in expansion of macro 'FOR'
48 | FOR(i, 1, n) {
| ^~~
sails.cpp:18:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
18 | #define FOR(i, a, b) for (int (i) = a; (i) <= (b); i++)
| ^
sails.cpp:50:9: note: in expansion of macro 'FOR'
50 | FOR(j, 1, m[i].f) id[j] = j;
| ^~~
sails.cpp:18:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
18 | #define FOR(i, a, b) for (int (i) = a; (i) <= (b); i++)
| ^
sails.cpp:55:9: note: in expansion of macro 'FOR'
55 | FOR(j, 1, m[i].f) db(j, id[j])
| ^~~
sails.cpp:18:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
18 | #define FOR(i, a, b) for (int (i) = a; (i) <= (b); i++)
| ^
sails.cpp:56:9: note: in expansion of macro 'FOR'
56 | FOR(j, 1, m[i].se) {
| ^~~
sails.cpp:33:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
33 | freopen("hi.inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~