deda.cpp:20:17: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+18' to '2147483647' [-Woverflow]
20 | const int INF = 1e18;
| ^~~~
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:45:5: note: in expansion of macro 'FOR'
45 | FOR(i, 1, m) {
| ^~~
deda.cpp:54:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
54 | for (auto[a, b, t] : events) {
| ^
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("hi.inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
deda.cpp:36:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
36 | freopen("./deda/deda.in.7", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deda.cpp:37:15: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
37 | freopen("hi.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~