记录详情

Accepted

/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:10:15: note: within this loop
  for(int i=2;i<=10000001;i++)
              ~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 461ms 157.953 MiB
#2 Accepted 464ms 157.93 MiB
#3 Accepted 468ms 157.949 MiB
#4 Accepted 468ms 157.945 MiB
#5 Accepted 466ms 157.949 MiB
#6 Accepted 463ms 157.957 MiB
#7 Accepted 475ms 157.949 MiB
#8 Accepted 476ms 157.945 MiB
#9 Accepted 477ms 157.953 MiB
#10 Accepted 478ms 157.945 MiB
#11 Accepted 510ms 157.949 MiB
#12 Accepted 509ms 157.949 MiB
#13 Accepted 465ms 157.953 MiB
#14 Accepted 461ms 157.941 MiB
#15 Accepted 458ms 157.953 MiB
#16 Accepted 458ms 157.949 MiB
#17 Accepted 737ms 157.941 MiB
#18 Accepted 736ms 157.949 MiB
#19 Accepted 746ms 157.945 MiB
#20 Accepted 744ms 157.953 MiB

信息

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