bitaro.cpp: In function 'int32_t main()':
bitaro.cpp:18:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define FOR(i, a, b) for (int (i) = a; (i) <= (b); i++)
| ^
bitaro.cpp:60:5: note: in expansion of macro 'FOR'
60 | FOR(i, 1, m) {
| ^~~
bitaro.cpp:18:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define FOR(i, a, b) for (int (i) = a; (i) <= (b); i++)
| ^
bitaro.cpp:67:5: note: in expansion of macro 'FOR'
67 | FOR(i, 1, n) if (in[i] == 0) node.push_back(i);
| ^~~
bitaro.cpp:84:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
84 | for (auto[a, b] : len[u]) {
| ^
bitaro.cpp:18:31: warning: unnecessary parentheses in declaration of 'id' [-Wparentheses]
18 | #define FOR(i, a, b) for (int (i) = a; (i) <= (b); i++)
| ^
bitaro.cpp:90:13: note: in expansion of macro 'FOR'
90 | FOR(id, 0, si(len[v]) - 1) {
| ^~~
bitaro.cpp:18:31: warning: unnecessary parentheses in declaration of 'id' [-Wparentheses]
18 | #define FOR(i, a, b) for (int (i) = a; (i) <= (b); i++)
| ^
bitaro.cpp:94:9: note: in expansion of macro 'FOR'
94 | FOR(id, 0, si(len[v]) - 1) {
| ^~~
bitaro.cpp:18:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
18 | #define FOR(i, a, b) for (int (i) = a; (i) <= (b); i++)
| ^
bitaro.cpp:103:5: note: in expansion of macro 'FOR'
103 | FOR(i, 1, q) {
| ^~~
bitaro.cpp:134:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
134 | for (auto[u, l] : len[source]) {
| ^
bitaro.cpp:54:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
54 | freopen("hi.inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:55:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
55 | freopen("./bitaro-data/bitaro/in/03-95.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:56:15: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
56 | freopen("hi.out", "w", stderr);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~