/ 晓编程 /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:32:8: warning: iteration 9998 invokes undefined behavior [-Waggressive-loop-optimizations]
   f[i] = f[i - 1] + f[i - 2];
   ~~~~~^~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:31:20: note: within this loop
  for (int i = 3; i <= 10001; i++) {
                  ~~^~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Accepted 1ms 228.0 KiB
#3 Wrong Answer 1ms 228.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Wrong Answer 1ms 344.0 KiB

信息

递交者
类型
递交
题目
斐波那契数列(二)
语言
C++
递交时间
2021-01-25 15:28:58
评测时间
2021-01-25 15:28:58
评测机
分数
40
总耗时
7ms
峰值内存
344.0 KiB