/ 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)%inf;
                                 ~^~~~
/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 3.074 MiB
#3 Wrong Answer 3ms 2.922 MiB
#4 Runtime Error 2ms 2.688 MiB
#5 Runtime Error 2ms 2.309 MiB
#6 Runtime Error 2ms 2.57 MiB
#7 Runtime Error 3ms 2.941 MiB
#8 Runtime Error 3ms 2.945 MiB
#9 Runtime Error 2ms 972.0 KiB
#10 Runtime Error 2ms 1.062 MiB

信息

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