Time Exceeded

/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;j++)
   ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 328.0 KiB
#2 Accepted 113ms 12.449 MiB
#3 Accepted 1ms 364.0 KiB
#4 Accepted 1ms 368.0 KiB
#5 Accepted 1ms 376.0 KiB
#6 Accepted 2ms 360.0 KiB
#7 Time Exceeded ≥1000ms ≥932.0 KiB
#8 Accepted 234ms 536.0 KiB
#9 Time Exceeded ≥1004ms ≥8.301 MiB
#10 Accepted 103ms 11.996 MiB

信息

递交者
类型
递交
题目
P1603 素数之和(prim)
语言
C++
递交时间
2024-05-15 23:03:55
评测时间
2024-05-15 23:03:55
评测机
分数
80
总耗时
≥2464ms
峰值内存
≥12.449 MiB