/ 拾陆人 /

记录详情

Runtime Error

/in/foo.cc: In function 'int zhao(int, int)':
/in/foo.cc:45:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:13:7: warning: iteration 67 invokes undefined behavior [-Waggressive-loop-optimizations]
   q[i]=q[i-1]+q[i-2];
   ~~~~^~~~~~~~~~~~~~
/in/foo.cc:12:16: note: within this loop
  for (int i=3;i<=70;i++)
               ~^~~~
# 状态 耗时 内存占用
#1 Accepted 8ms 8.051 MiB
#2 Accepted 7ms 7.875 MiB
#3 Accepted 8ms 7.875 MiB
#4 Accepted 8ms 7.875 MiB
#5 Accepted 8ms 7.988 MiB
#6 Accepted 10ms 7.914 MiB
#7 Accepted 10ms 7.875 MiB
#8 Runtime Error 8ms 7.875 MiB
#9 Runtime Error 8ms 8.0 MiB
#10 Runtime Error 8ms 7.949 MiB

信息

递交者
类型
递交
题目
斐波那契(fibonacci)
比赛
Luogu mNOIP 模拟赛 Day 1
语言
C++
递交时间
2017-11-02 21:34:44
评测时间
2017-11-02 21:34:44
评测机
分数
70
总耗时
86ms
峰值内存
8.051 MiB