记录详情

Runtime Error

foo.cc: In function 'void init()':
foo.cc:11:9: warning: iteration 100000008 invokes undefined behavior [-Waggressive-loop-optimizations]
   if(a[i]==0) prime[++cnt]=i;
      ~~~^
foo.cc:9:15: note: within this loop
  for(int i=2;i<=maxn;i++)
              ~^~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 0ms 128.0 KiB
#2 Runtime Error Segmentation fault 0ms 128.0 KiB
#3 Runtime Error Segmentation fault 0ms 128.0 KiB
#4 Runtime Error Segmentation fault 0ms 128.0 KiB
#5 Runtime Error Segmentation fault 0ms 128.0 KiB
#6 Runtime Error Segmentation fault 0ms 128.0 KiB
#7 Runtime Error Segmentation fault 0ms 128.0 KiB
#8 Runtime Error Segmentation fault 0ms 128.0 KiB
#9 Runtime Error Segmentation fault 0ms 128.0 KiB
#10 Runtime Error Segmentation fault 0ms 128.0 KiB
#11 Runtime Error Segmentation fault 0ms 128.0 KiB
#12 Runtime Error Segmentation fault 0ms 128.0 KiB
#13 Runtime Error Segmentation fault 0ms 128.0 KiB
#14 Runtime Error Segmentation fault 0ms 128.0 KiB
#15 Runtime Error Segmentation fault 0ms 128.0 KiB
#16 Runtime Error Segmentation fault 0ms 128.0 KiB
#17 Runtime Error Segmentation fault 0ms 128.0 KiB
#18 Runtime Error Segmentation fault 0ms 128.0 KiB
#19 Runtime Error Segmentation fault 0ms 128.0 KiB
#20 Runtime Error Segmentation fault 0ms 128.0 KiB

信息

递交者
类型
递交
题目
P1250 F Almost Prime ~Bonus Version /[模板]欧拉筛
语言
C++
递交时间
2021-04-29 22:00:14
评测时间
2021-04-29 22:01:50
评测机
分数
0
总耗时
6ms
峰值内存
128.0 KiB