deda.cpp: In function 'int32_t main()':
deda.cpp:15:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define FOR(i, a, b) for (int (i) = (a); (i) <= (b); (i++))
| ^
deda.cpp:44:5: note: in expansion of macro 'FOR'
44 | FOR(i, 1, m) {
| ^~~
deda.cpp:53:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
53 | for (auto[a, b, t] : events) {
| ^
deda.cpp:34:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
34 | freopen("hi.inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
deda.cpp:35:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | freopen("./deda/deda.in.7", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deda.cpp:36:15: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
36 | freopen("hi.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~