foo.cc: In function 'int fzt(int*, int, int)':
foo.cc:15:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=flag+1;i<n;i++)
^~~
foo.cc:25:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
sum++;
^~~
foo.cc: In function 'int main()':
foo.cc:43:1: error: expected '}' at end of input
}
^
foo.cc: In function 'int fzt(int*, int, int)':
foo.cc:28:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
[Hydro](https://hydro.ac)提供评测服务