记录详情

Runtime Error

/in/foo.cc: In function 'void Prime()':
/in/foo.cc:19:18: warning: iteration 10000008 invokes undefined behavior [-Waggressive-loop-optimizations]
   Rem[i]+=Rem[i-1];
                  ^
/in/foo.cc:3:33: note: within this loop
 #define Goo(i,a,n) for(int i=a;i<=n;i++)
                                  
/in/foo.cc:11:6:
  Goo(i,2,N)
      ~~~~~                       
/in/foo.cc:11:2: note: in expansion of macro 'Goo'
  Goo(i,2,N)
  ^~~
# 状态 耗时 内存占用
#1 Runtime Error 1ms 308.0 KiB
#2 Runtime Error 1ms 412.0 KiB
#3 Runtime Error 2ms 220.0 KiB
#4 Runtime Error 1ms 224.0 KiB
#5 Runtime Error 2ms 220.0 KiB
#6 Runtime Error 2ms 224.0 KiB
#7 Runtime Error 2ms 220.0 KiB
#8 Runtime Error 2ms 224.0 KiB
#9 Runtime Error 2ms 220.0 KiB
#10 Runtime Error 1ms 224.0 KiB
#11 Runtime Error 1ms 220.0 KiB
#12 Runtime Error 1ms 224.0 KiB
#13 Runtime Error 1ms 220.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 224.0 KiB

信息

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