<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>simezi_tan</author_name>
  <author_url>https://blog.hatena.ne.jp/simezi_tan/</author_url>
  <blog_title>simezi_tanの日記</blog_title>
  <blog_url>https://simezi-tan.hatenadiary.org/</blog_url>
  <categories>
    <anon>Codeforces</anon>
    <anon>ゲーム</anon>
    <anon>動的計画法</anon>
  </categories>
  <description>問題 二人が交互に次の操作を行うようなゲームがある。 はじめはN個の石の山が一つある。 手番のプレイヤーは、一つの山を選び、それをk個の山に分裂させる。 k個の山はa1-a2=a2-a3=...=ak-1-ak=1を満たす必要がある。 山を分裂させられなくなったプレイヤーの負け。 お互いに最善を尽くした場合どちらが勝つかを求め、 先手が勝つなら、先手の最初の手番でいくつの山に分裂させるか、最小の山の数を出力し、 後手が勝つなら-1を出力せよ。 制約条件 N≦10^5</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsimezi-tan.hatenadiary.org%2Fentry%2F20111010%2F1318178841&quot; title=&quot;87 C Interesting Game - simezi_tanの日記&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>2011-10-10 01:47:21</published>
  <title>87 C Interesting Game</title>
  <type>rich</type>
  <url>https://simezi-tan.hatenadiary.org/entry/20111010/1318178841</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
