记录详情

Runtime Error

/in/foo.cc: In function 'void sushu()':
/in/foo.cc:12:16: warning: iteration 9998 invokes undefined behavior [-Waggressive-loop-optimizations]
         if(sf[i]) prime[++num]=i; 
            ~~~~^
/in/foo.cc:10:18: note: within this loop
     for(int i=2;i<=maxn;i++)
                 ~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 260.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 224.0 KiB
#4 Accepted 1ms 304.0 KiB
#5 Runtime Error 1ms 224.0 KiB
#6 Runtime Error 1ms 212.0 KiB
#7 Runtime Error 1ms 224.0 KiB
#8 Runtime Error 1ms 220.0 KiB
#9 Runtime Error 1ms 224.0 KiB
#10 Runtime Error 1ms 220.0 KiB
#11 Accepted 4ms 224.0 KiB
#12 Accepted 3ms 264.0 KiB
#13 Runtime Error 1ms 216.0 KiB
#14 Runtime Error 1ms 224.0 KiB
#15 Runtime Error 1ms 220.0 KiB
#16 Runtime Error 1ms 224.0 KiB
#17 Runtime Error 1ms 220.0 KiB
#18 Runtime Error 1ms 224.0 KiB
#19 Runtime Error 1ms 220.0 KiB
#20 Runtime Error 1ms 216.0 KiB

信息

递交者
类型
递交
题目
1.小W 的质数(prime)
题目数据
下载
语言
C++
递交时间
2019-09-15 15:36:06
评测时间
2019-09-15 15:36:06
评测机
分数
30
总耗时
31ms
峰值内存
304.0 KiB