记录详情

Runtime Error

/in/foo.cc: In function 'void Prime()':
/in/foo.cc:19:18: warning: iteration 999999 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 21ms 23.121 MiB
#2 Runtime Error 25ms 23.125 MiB
#3 Runtime Error 23ms 23.051 MiB
#4 Runtime Error 25ms 23.078 MiB
#5 Runtime Error 23ms 23.102 MiB
#6 Runtime Error 25ms 23.086 MiB
#7 Runtime Error 22ms 23.059 MiB
#8 Runtime Error 36ms 23.059 MiB
#9 Runtime Error 21ms 23.098 MiB
#10 Runtime Error 18ms 23.066 MiB
#11 Runtime Error 17ms 23.125 MiB
#12 Runtime Error 18ms 23.043 MiB
#13 Runtime Error 17ms 23.105 MiB
#14 Runtime Error 19ms 23.105 MiB
#15 Runtime Error 31ms 23.09 MiB
#16 Runtime Error 20ms 23.078 MiB
#17 Runtime Error 18ms 23.129 MiB
#18 Runtime Error 18ms 23.102 MiB
#19 Runtime Error 19ms 23.109 MiB
#20 Runtime Error 17ms 23.016 MiB

信息

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