<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>drken1215</author_name>
  <author_url>https://blog.hatena.ne.jp/drken1215/</author_url>
  <blog_title>けんちょんの競プロ精進記録</blog_title>
  <blog_url>https://drken1215.hatenablog.com/</blog_url>
  <categories>
    <anon>数学(整数問題)</anon>
    <anon>最大公約数</anon>
    <anon>考察：操作・条件・目的関数を言い換える</anon>
    <anon>拡張Euclidの互除法</anon>
    <anon>周期性に着目する</anon>
    <anon>AGC-B</anon>
    <anon>AtCoder</anon>
    <anon>AtCoder600点</anon>
    <anon>操作がEuclidの互除法に対応</anon>
    <anon>青色diff</anon>
    <anon>NoviSteps1D</anon>
  </categories>
  <description>とても面白い問題だった！ 問題へのリンク 問題概要 (AGC 026 B) 整数 があたえられる。 最初は在庫に 個あって、 毎日 個ずつ消費される その日の最後に 個以下しか残っていなかったら 個補充される というのを繰り返す時、永遠に回せるかどうかを判定せよ (というクエリが 回与えられる)。 制約 考えたこと とりあえず色んな状況があり得るのでちゃんと整理しないと...な感じなん。 &lt; のときは自明に &quot;No&quot; (初期状態ですでにダメ) &lt; のときはジリ損するので &quot;No&quot; ( で毎ターン回復するとしてもいずれダメになる) というのがすぐにわかり、以後 , としてよい。これで少し考えやす…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2018%2F07%2F18%2F083000&quot; title=&quot;AtCoder AGC 026 B - rng_10s (1D, 青色, 600 点) - けんちょんの競プロ精進記録&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>https://chart.apis.google.com/chart?cht=tx&amp;chl=%20A%2C%20B%2C%20C%2C%20D</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-07-18 08:30:00</published>
  <title>AtCoder AGC 026 B - rng_10s (1D, 青色, 600 点)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2018/07/18/083000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
