记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:3:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define Goo(i,a,n) for(int i=a;i<=n;i++)
                    ^
/in/foo.cc:37:2: note: in expansion of macro 'Goo'
  Goo(i,1,n)
  ^~~
/in/foo.cc:39:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   return 0;
   ^~~~~~
/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 716ms 84.543 MiB
#2 Wrong Answer 737ms 83.895 MiB
#3 Wrong Answer 748ms 84.574 MiB
#4 Wrong Answer 721ms 83.449 MiB
#5 Wrong Answer 726ms 82.953 MiB
#6 Wrong Answer 724ms 83.07 MiB
#7 Wrong Answer 750ms 83.203 MiB
#8 Wrong Answer 746ms 82.98 MiB
#9 Wrong Answer 729ms 86.141 MiB
#10 Wrong Answer 728ms 83.988 MiB
#11 Wrong Answer 731ms 83.559 MiB
#12 Wrong Answer 736ms 84.59 MiB
#13 Wrong Answer 727ms 86.172 MiB
#14 Wrong Answer 727ms 83.797 MiB
#15 Wrong Answer 744ms 83.824 MiB
#16 Wrong Answer 733ms 82.953 MiB
#17 Wrong Answer 911ms 83.711 MiB
#18 Wrong Answer 913ms 84.293 MiB
#19 Wrong Answer 911ms 86.703 MiB
#20 Wrong Answer 914ms 83.91 MiB

信息

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