记录详情

Time Exceeded

/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 Wrong Answer 822ms 79.137 MiB
#2 Wrong Answer 821ms 79.145 MiB
#3 Wrong Answer 865ms 79.078 MiB
#4 Wrong Answer 850ms 79.055 MiB
#5 Wrong Answer 894ms 79.086 MiB
#6 Wrong Answer 863ms 79.148 MiB
#7 Wrong Answer 833ms 79.113 MiB
#8 Wrong Answer 828ms 79.07 MiB
#9 Wrong Answer 854ms 79.148 MiB
#10 Wrong Answer 842ms 79.121 MiB
#11 Wrong Answer 861ms 79.078 MiB
#12 Wrong Answer 852ms 79.07 MiB
#13 Wrong Answer 870ms 79.043 MiB
#14 Wrong Answer 861ms 79.102 MiB
#15 Wrong Answer 828ms 79.055 MiB
#16 Wrong Answer 941ms 79.051 MiB
#17 Time Exceeded ≥1002ms ≥79.824 MiB
#18 Time Exceeded ≥1002ms ≥79.855 MiB
#19 Wrong Answer 993ms 79.883 MiB
#20 Time Exceeded ≥1004ms ≥79.84 MiB

信息

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