记录详情

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 43ms 112.574 MiB
#2 Runtime Error 41ms 105.477 MiB
#3 Runtime Error 39ms 108.477 MiB
#4 Runtime Error 39ms 107.504 MiB
#5 Runtime Error 41ms 105.707 MiB
#6 Runtime Error 41ms 108.777 MiB
#7 Runtime Error 38ms 105.242 MiB
#8 Runtime Error 40ms 114.316 MiB
#9 Runtime Error 39ms 107.512 MiB
#10 Runtime Error 39ms 108.223 MiB
#11 Runtime Error 39ms 105.953 MiB
#12 Runtime Error 39ms 108.879 MiB
#13 Runtime Error 39ms 106.156 MiB
#14 Runtime Error 39ms 109.59 MiB
#15 Runtime Error 39ms 106.926 MiB
#16 Runtime Error 39ms 108.43 MiB
#17 Runtime Error 40ms 106.391 MiB
#18 Runtime Error 39ms 109.082 MiB
#19 Runtime Error 39ms 109.207 MiB
#20 Runtime Error 39ms 106.57 MiB

信息

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