<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tsutaj</author_name>
  <author_url>https://blog.hatena.ne.jp/tsutaj/</author_url>
  <blog_title>hogecoder</blog_title>
  <blog_url>https://tsutaj.hatenablog.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
    <anon>ゲーム問題</anon>
  </categories>
  <description>久しぶりに解説記事。またまたゲームの問題。 問題概要 原文 → G: 石取りゲーム - code thanks festival 2014 B日程 | AtCoder 個の石が積まれた山があり、人のプレイヤーが交互に石を何個か取っていき、最後の石を取ったプレイヤーが勝ちとなるゲームを行う。1手で取れる石の個数は、ゲーム開始時に先手が取るときはの範囲、それ以降は (前のプレイヤーが取った石の個数) の範囲である。が与えられるので、両者が最善に行動した時の勝者を出力せよ。 解説 まず、solve(i, j)なる関数を考えます。これは、山に i 個石があり、1 〜 j 個の範囲で石が取れる時の勝者を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftsutaj.hatenablog.com%2Fentry%2F2016%2F12%2F09%2F000345&quot; title=&quot;CODE THANKS FESTIVAL 2014 B日程 G: 石取りゲーム - hogecoder&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>http://chart.apis.google.com/chart?cht=tx&amp;chl=%20N</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-12-09 00:03:45</published>
  <title>CODE THANKS FESTIVAL 2014 B日程 G: 石取りゲーム</title>
  <type>rich</type>
  <url>https://tsutaj.hatenablog.com/entry/2016/12/09/000345</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
