记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:14:8: warning: iteration 99999997 invokes undefined behavior [-Waggressive-loop-optimizations]
   14 |   f[i] = (f[i - 1] + f[i - 2]) % 1000007;
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:12:20: note: within this loop
   12 |  for (int i = 3; i <= 100000000; i++)
      |                  ~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1199ms 382.492 MiB
#2 Accepted 1183ms 382.547 MiB
#3 Accepted 839ms 382.492 MiB
#4 Accepted 847ms 382.492 MiB
#5 Accepted 870ms 382.617 MiB
#6 Accepted 863ms 382.621 MiB
#7 Accepted 1118ms 382.617 MiB
#8 Accepted 1126ms 382.742 MiB
#9 Accepted 1080ms 382.617 MiB
#10 Accepted 1054ms 382.617 MiB
#11 Accepted 1042ms 382.629 MiB
#12 Accepted 1094ms 382.492 MiB
#13 Accepted 881ms 382.617 MiB
#14 Accepted 881ms 382.617 MiB
#15 Accepted 903ms 382.617 MiB
#16 Accepted 843ms 382.617 MiB
#17 Accepted 1112ms 382.617 MiB
#18 Accepted 1088ms 382.617 MiB
#19 Accepted 778ms 382.617 MiB
#20 Accepted 822ms 382.617 MiB

信息

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