Runtime Error

foo.cc: In function 'int main()':
foo.cc:20:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(i=2;i<=a[0];i++)
     ^~~
foo.cc:26:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  cout<<ans;
  ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 11ms 1.105 MiB
#2 Runtime Error Segmentation fault 11ms 1.133 MiB
#3 Runtime Error Segmentation fault 10ms 1.086 MiB
#4 Runtime Error Segmentation fault 11ms 1.066 MiB
#5 Runtime Error Segmentation fault 11ms 1.105 MiB
#6 Wrong Answer Read 0, expect 1,0. 1ms 384.0 KiB

信息

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