<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Hyoga</author_name>
  <author_url>https://blog.hatena.ne.jp/Hyoga/</author_url>
  <blog_title>アルゴリズマーの備忘録</blog_title>
  <blog_url>https://hyoga.hatenablog.com/</blog_url>
  <categories>
    <anon>yukicoder</anon>
  </categories>
  <description>今年最後の問題かなぁ…（冬休みの課題の息抜きに） 問題 No.320 眠れない夜に - yukicoder 解法 まず、早めに間違えると大きな誤差を生むことが分かる。その様子を見てみる。例えばa3で間違えると、 a3=1(-1)、a4=2(-1)、a5=3(-2)、a6=5(-3)、… と、元の値からどの位離れていくかがフィボナッチ数列になる。 よって、予めフィボナッチ数列の80項まで調べておき（ギリギリC++のlong longで収まる。不安だったのでJavaでBigInteger使って確かめた。）、どの位足りないかを見るためm=an-mとする。 a3に間違えた時から順に仮定していき、変化量…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhyoga.hatenablog.com%2Fentry%2F2015%2F12%2F31%2F195507&quot; title=&quot;yukicoder No.320 眠れない夜に - アルゴリズマーの備忘録&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>2015-12-31 19:55:07</published>
  <title>yukicoder No.320 眠れない夜に</title>
  <type>rich</type>
  <url>https://hyoga.hatenablog.com/entry/2015/12/31/195507</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
