/ ep /

记录详情

Runtime Error

/in/foo.cc: In function 'long long int calculate_matrix_pow_dp(int)':
/in/foo.cc:23:34: warning: operation on 'k' may be undefined [-Wsequence-point]
    x[k]=calculate_matrix_pow_dp(k>>=1);
                                 ~^~~~
/in/foo.cc:33:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'void setup()':
/in/foo.cc:36:38: warning: iteration 500000 invokes undefined behavior [-Waggressive-loop-optimizations]
  for(int i=1;i<=MAX;i++) traceback[i]=1;
                          ~~~~~~~~~~~~^~
/in/foo.cc:36:15: note: within this loop
  for(int i=1;i<=MAX;i++) traceback[i]=1;
              ~^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 253ms 3.449 MiB
#2 Wrong Answer 443ms 3.324 MiB
#3 Wrong Answer 454ms 3.438 MiB
#4 Runtime Error 2ms 2.574 MiB
#5 Runtime Error 2ms 2.82 MiB
#6 Runtime Error 2ms 2.949 MiB
#7 Runtime Error 2ms 2.32 MiB
#8 Runtime Error 2ms 972.0 KiB
#9 Runtime Error 2ms 972.0 KiB
#10 Runtime Error 2ms 2.695 MiB

信息

递交者
类型
递交
题目
P1009 斐波那契数列
语言
C++
递交时间
2019-10-25 10:56:08
评测时间
2019-10-25 10:56:08
评测机
分数
0
总耗时
1169ms
峰值内存
3.449 MiB