记录详情

Time Exceeded

/in/foo.cc: In function 'void prime()':
/in/foo.cc:17:18: warning: iteration 9999999 invokes undefined behavior [-Waggressive-loop-optimizations]
   sum[i]+=sum[i-1]; 
                  ^
/in/foo.cc:9:15: note: within this loop
  for(int i=2;i<=10000001;i++)
              ~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 667ms 157.945 MiB
#2 Accepted 642ms 157.895 MiB
#3 Accepted 636ms 157.953 MiB
#4 Accepted 690ms 157.934 MiB
#5 Accepted 631ms 157.953 MiB
#6 Accepted 684ms 157.898 MiB
#7 Accepted 637ms 157.879 MiB
#8 Accepted 653ms 157.91 MiB
#9 Accepted 651ms 157.867 MiB
#10 Accepted 633ms 157.906 MiB
#11 Accepted 654ms 157.898 MiB
#12 Accepted 649ms 157.887 MiB
#13 Accepted 639ms 157.91 MiB
#14 Accepted 643ms 157.934 MiB
#15 Accepted 661ms 157.898 MiB
#16 Accepted 633ms 157.949 MiB
#17 Time Exceeded ≥1000ms ≥157.957 MiB
#18 Accepted 926ms 157.898 MiB
#19 Accepted 998ms 157.875 MiB
#20 Accepted 955ms 157.91 MiB

信息

递交者
类型
递交
题目
1.小W 的质数(prime)
题目数据
下载
语言
C++
递交时间
2019-09-15 16:13:56
评测时间
2019-09-15 16:13:56
评测机
分数
95
总耗时
≥14290ms
峰值内存
≥157.957 MiB