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