{"provider_url":"https://hatena.blog","type":"rich","categories":[],"author_url":"https://blog.hatena.ne.jp/inamori/","version":"1.0","width":"100%","height":"190","blog_title":"inamori\u2019s diary","provider_name":"Hatena Blog","blog_url":"https://inamori.hateblo.jp/","author_name":"inamori","published":"2023-05-02 21:59:10","title":"\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3068\u6570\u5b66 049","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2023%2F05%2F02%2F215910\" title=\"\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3068\u6570\u5b66 049 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"url":"https://inamori.hateblo.jp/entry/2023/05/02/215910","description":"https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_ap\u307e\u3067\u306a\u306e\u3067\u3001\u306e\u89e3\u6cd5\u3067\u5341\u5206\u3067\u3059\u306d\u3002 \u624b\u5143\u3067\u306fPython\u306e\u3088\u3046\u306a\u3001 (a, b) = (b, (a + b) % D) \u3068\u3044\u3046\u30b3\u30fc\u30c9\u304c\u901a\u308a\u307e\u3057\u305f\u304c\u3001AtCoder\u3067\u306f\u901a\u308a\u307e\u305b\u3093\u306d\u3002 // Fibonacci Easy (mod 1000000007) #![allow(non_snake_case)] //////////////////// constants //////////////////// const D: i64 = 10000000\u2026"}