记录详情

Time Exceeded

foo.cc: In function 'void init()':
foo.cc:11:7: warning: iteration 100000008 invokes undefined behavior [-Waggressive-loop-optimizations]
   11 | if(a[i]==0) prime[++cnt]=i;
      |    ~~~^
foo.cc:9:14: note: within this loop
    9 | for(int i=2;i<=maxn;i++)
      |             ~^~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥2136ms ≥385.617 MiB
#2 Time Exceeded ≥2143ms ≥385.117 MiB
#3 Time Exceeded ≥2192ms ≥395.867 MiB
#4 Time Exceeded ≥2237ms ≥400.242 MiB
#5 Time Exceeded ≥2176ms ≥389.867 MiB
#6 Time Exceeded ≥2134ms ≥394.242 MiB
#7 Time Exceeded ≥2139ms ≥390.117 MiB
#8 Time Exceeded ≥2095ms ≥404.496 MiB
#9 Time Exceeded ≥2050ms ≥404.492 MiB
#10 Time Exceeded ≥2048ms ≥404.492 MiB
#11 Accepted 1943ms 404.492 MiB
#12 Time Exceeded ≥2133ms ≥398.617 MiB
#13 Time Exceeded ≥2064ms ≥404.492 MiB
#14 Time Exceeded ≥2040ms ≥404.523 MiB
#15 Time Exceeded ≥2057ms ≥404.504 MiB
#16 Time Exceeded ≥2050ms ≥404.617 MiB
#17 Time Exceeded ≥2140ms ≥404.629 MiB
#18 Time Exceeded ≥2004ms ≥404.621 MiB
#19 Time Exceeded ≥2150ms ≥404.473 MiB
#20 Time Exceeded ≥2147ms ≥404.492 MiB

信息

递交者
类型
递交
题目
P1250 F Almost Prime ~Bonus Version /[模板]欧拉筛
语言
C++
递交时间
2022-08-22 19:25:21
评测时间
2022-08-22 19:25:21
评测机
分数
5
总耗时
≥42088ms
峰值内存
≥404.629 MiB