<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moistx</author_name>
  <author_url>https://blog.hatena.ne.jp/moistx/</author_url>
  <blog_title>Logfiles</blog_title>
  <blog_url>https://logfiles.hatenablog.com/</blog_url>
  <categories>
    <anon>LiveArchive</anon>
  </categories>
  <description>問題 フィボナッチ数列の mod M をとる。数列で出来る周期の長さを求めよ。 フィボナッチ数列が 0 からはじまるものと考えた時、周期ははじめから見て次に 0, 1 が現れるときで区切れる。（部分列の最後が 1, 0 であるともみれる）反省 適当な数値や素数を用いて周期の長さが求まるまでのループ回数を調べてみる。すると単純な計算なら間に合うだろうと予想がつくので、以下の愚直なコードでTLEにならないようである。コンテスト中にはその事実に気づかなかった。メモ 英文の意味をとると、0 から始まるフィボナッチを想像して初めに 0, 1 が来るタイミングで切れると気がついた。MOD のフィボナッチの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140902%2F1409640979&quot; title=&quot;LiveArchive 6468 Pisano Periods - Logfiles&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-09-02 15:56:19</published>
  <title>LiveArchive 6468 Pisano Periods</title>
  <type>rich</type>
  <url>https://logfiles.hatenablog.com/entry/20140902/1409640979</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
