/ ep /

记录详情

Runtime Error

/in/foo.cc: In function 'long long int calculate_matrix_pow_dp(int)':
/in/foo.cc:22:34: warning: operation on 'k' may be undefined [-Wsequence-point]
    x[k]=calculate_matrix_pow_dp(k>>=1);
                                 ~^~~~
/in/foo.cc:32:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'void setup()':
/in/foo.cc:34:38: warning: iteration 500000 invokes undefined behavior [-Waggressive-loop-optimizations]
  for(int i=1;i<=MAX;i++) traceback[i]=1;
                          ~~~~~~~~~~~~^~
/in/foo.cc:34:15: note: within this loop
  for(int i=1;i<=MAX;i++) traceback[i]=1;
              ~^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 2.938 MiB
#2 Wrong Answer 3ms 2.938 MiB
#3 Wrong Answer 3ms 2.938 MiB
#4 Runtime Error 1ms 2.699 MiB
#5 Runtime Error 2ms 2.945 MiB
#6 Runtime Error 1ms 1.066 MiB
#7 Runtime Error 2ms 2.348 MiB
#8 Runtime Error 2ms 968.0 KiB
#9 Runtime Error 2ms 2.957 MiB
#10 Runtime Error 2ms 2.938 MiB

信息

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