sumzero.cpp: In function 'int main()':
sumzero.cpp:35:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
35 | if (last[sf] > 0) jump[0][i] = min(jump[0][i], last[sf]); last[sf] = i;
| ^~
sumzero.cpp:35:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
35 | if (last[sf] > 0) jump[0][i] = min(jump[0][i], last[sf]); last[sf] = i;
| ^~~~
sumzero.cpp:19:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | freopen(task".inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
sumzero.cpp:20:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | freopen(task".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~