Runtime Error

foo.cc: In function 'int main()':
foo.cc:23:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   23 |                 if(n==0)
      |                 ^~
foo.cc:24:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   24 |                         a[i]=1;cnt++;
      |                                ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 848, expect 27. 1ms 256.0 KiB
#2 Runtime Error Segmentation fault 32ms 504.0 KiB
#3 Wrong Answer Read 763, expect 26. 1ms 256.0 KiB
#4 Wrong Answer Read 242, expect 15. 1ms 256.0 KiB
#5 Wrong Answer Read 704, expect 23. 2ms 256.0 KiB
#6 Wrong Answer Read 25, expect 5. 1ms 256.0 KiB
#7 Runtime Error Segmentation fault 30ms 504.0 KiB
#8 Runtime Error Segmentation fault 30ms 384.0 KiB
#9 Runtime Error Segmentation fault 69ms 376.0 KiB
#10 Runtime Error Segmentation fault 31ms 384.0 KiB

信息

递交者
类型
递交
题目
P1753 超级素数
语言
C++
递交时间
2022-08-24 23:50:12
评测时间
2022-08-24 23:50:12
评测机
分数
0
总耗时
203ms
峰值内存
504.0 KiB