Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:30:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
      if(!pr[i])
      ^~
/in/foo.cc:32:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   for(int j=0;j<cnt&&prime[j]*i<=n/2;j++)
   ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 404.0 KiB
#2 Wrong Answer 58ms 6.555 MiB
#3 Accepted 1ms 364.0 KiB
#4 Accepted 1ms 356.0 KiB
#5 Accepted 1ms 460.0 KiB
#6 Accepted 1ms 376.0 KiB
#7 Wrong Answer 3ms 700.0 KiB
#8 Wrong Answer 1ms 488.0 KiB
#9 Wrong Answer 37ms 4.473 MiB
#10 Wrong Answer 54ms 6.281 MiB

信息

递交者
类型
递交
题目
P1603 素数之和(prim)
语言
C++
递交时间
2024-05-15 23:09:04
评测时间
2024-05-15 23:09:04
评测机
分数
50
总耗时
164ms
峰值内存
6.555 MiB