记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:10:21: warning: iteration 100000007 invokes undefined behavior [-Waggressive-loop-optimizations]
   10 |                 f[i]=(f[i-1]+f[i-2])%1000007;
      |                 ~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:9:22: note: within this loop
    9 |         for(int i=3;i<=N;i++){
      |                     ~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 910ms 382.531 MiB
#2 Accepted 945ms 382.52 MiB
#3 Accepted 813ms 382.52 MiB
#4 Accepted 816ms 382.52 MiB
#5 Accepted 821ms 382.496 MiB
#6 Accepted 845ms 382.52 MiB
#7 Accepted 824ms 382.574 MiB
#8 Accepted 807ms 382.562 MiB
#9 Accepted 902ms 382.57 MiB
#10 Accepted 948ms 382.609 MiB
#11 Accepted 833ms 382.539 MiB
#12 Accepted 861ms 382.555 MiB
#13 Accepted 798ms 382.531 MiB
#14 Accepted 877ms 382.551 MiB
#15 Accepted 701ms 382.52 MiB
#16 Accepted 659ms 382.512 MiB
#17 Accepted 796ms 382.625 MiB
#18 Accepted 904ms 382.539 MiB
#19 Accepted 827ms 382.562 MiB
#20 Accepted 816ms 382.609 MiB

信息

递交者
类型
递交
题目
P1364 6A 斐波那契数列
比赛
2023暑期青少年社团(惜别赛)
语言
C++
递交时间
2023-08-24 13:31:13
评测时间
2023-08-24 13:31:13
评测机
分数
100
总耗时
16711ms
峰值内存
382.625 MiB