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)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1364 6A 斐波那契数列
- 比赛
- 悬赏令第六周
- 语言
- C++
- 递交时间
- 2022-05-07 16:15:01
- 评测时间
- 2022-05-07 16:15:01
- 评测机
- 分数
- 100
- 总耗时
- 17070ms
- 峰值内存
- 382.742 MiB