pigus_skrydziai.cpp: In function 'void solve()':
pigus_skrydziai.cpp:65:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
65 | ok[f] = cost[f] = 0;
| ~~~~~~~~^~~
pigus_skrydziai.cpp: In function 'int32_t main()':
pigus_skrydziai.cpp:4:24: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
4 | #define file(a) freopen(a".inp","r",stdin); freopen(a".out", "w",stdout)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~
pigus_skrydziai.cpp:73:5: note: in expansion of macro 'file'
73 | file(TASK);
| ^~~~
pigus_skrydziai.cpp:4:52: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
4 | #define file(a) freopen(a".inp","r",stdin); freopen(a".out", "w",stdout)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
pigus_skrydziai.cpp:73:5: note: in expansion of macro 'file'
73 | file(TASK);
| ^~~~