Compile Error

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)提供评测服务

信息

递交者
类型
递交
题目
P1365 导弹拦截
语言
C++
递交时间
2021-11-15 09:41:37
评测时间
2021-11-15 09:41:37
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes