记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:16:8: warning: iteration 99999997 invokes undefined behavior [-Waggressive-loop-optimizations]
   16 |   a[i] = (a[i - 1] + a[i - 2]) % 1000007;
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:14:20: note: within this loop
   14 |  for (int i = 3; i <= 100000000; i++)
      |                  ~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1271ms 382.57 MiB
#2 Accepted 1279ms 382.492 MiB
#3 Accepted 756ms 382.492 MiB
#4 Accepted 763ms 382.492 MiB
#5 Accepted 1048ms 382.559 MiB
#6 Accepted 1054ms 382.617 MiB
#7 Accepted 766ms 382.617 MiB
#8 Accepted 760ms 382.617 MiB
#9 Accepted 766ms 382.617 MiB
#10 Accepted 765ms 382.492 MiB
#11 Accepted 762ms 382.617 MiB
#12 Accepted 760ms 382.742 MiB
#13 Accepted 758ms 382.617 MiB
#14 Accepted 762ms 382.617 MiB
#15 Accepted 764ms 382.492 MiB
#16 Accepted 929ms 382.496 MiB
#17 Accepted 781ms 382.629 MiB
#18 Accepted 780ms 382.492 MiB
#19 Accepted 773ms 382.617 MiB
#20 Accepted 763ms 382.559 MiB

信息

递交者
类型
递交
题目
P1364 6A 斐波那契数列
比赛
悬赏令第六周
语言
C++
递交时间
2022-05-07 16:15:01
评测时间
2022-05-07 16:15:01
评测机
分数
100
总耗时
17070ms
峰值内存
382.742 MiB