/ SUOI /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:9: warning: iteration 11111110 invokes undefined behavior [-Waggressive-loop-optimizations]
   Num[i]=0;
   ~~~~~~^~
/in/foo.cc:12:24: note: within this loop
  for(register int i=1;i<=20000000;++i)
                       ~^~~~~~~~~~
/in/foo.cc:20:13: warning: iteration 11111110 invokes undefined behavior [-Waggressive-loop-optimizations]
   sum+=Num[i];
        ~~~~~^
/in/foo.cc:19:22: note: within this loop
  for(int i=1, sum=0;i<=20000000;++i){
                     ~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 31ms 42.801 MiB
#2 Runtime Error 32ms 42.82 MiB
#3 Runtime Error 46ms 42.801 MiB
#4 Runtime Error 35ms 42.805 MiB
#5 Runtime Error 47ms 42.801 MiB
#6 Runtime Error 47ms 42.805 MiB
#7 Runtime Error 28ms 42.805 MiB
#8 Runtime Error 25ms 42.82 MiB
#9 Runtime Error 19ms 42.797 MiB
#10 Runtime Error 17ms 42.805 MiB
#11 Runtime Error 16ms 42.801 MiB
#12 Runtime Error 16ms 42.805 MiB
#13 Runtime Error 16ms 42.805 MiB
#14 Runtime Error 16ms 42.82 MiB
#15 Runtime Error 42ms 42.801 MiB
#16 Runtime Error 19ms 42.805 MiB
#17 Runtime Error 16ms 42.801 MiB
#18 Runtime Error 31ms 42.805 MiB
#19 Runtime Error 31ms 42.801 MiB
#20 Runtime Error 40ms 42.82 MiB
#21 Runtime Error 34ms 42.801 MiB
#22 Runtime Error 32ms 42.809 MiB
#23 Runtime Error 32ms 42.801 MiB
#24 Runtime Error 32ms 42.809 MiB
#25 Runtime Error 32ms 42.801 MiB

信息

递交者
类型
递交
题目
#5 搬椅子girl版
语言
C++
递交时间
2017-10-09 20:28:06
评测时间
2017-10-09 20:28:06
评测机
分数
0
总耗时
744ms
峰值内存
42.82 MiB