<?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>TopCoder</anon>
    <anon>動的計画法</anon>
    <anon>ゲーム</anon>
  </categories>
  <description>問題 h x wのグリッド上に帽子がいくつかある。 帽子のあるマスは'H'で、帽子のないマスは'.'である。 コインがn枚あり、それぞれの額はcoins[i]である。 帽子の中にコインを隠して、次のようなゲームをする。 先手は、まだ選んでない帽子を選ぶ。 後手は、まだ選んでいない帽子の下にあるコインを制限を満たした上で入れ替える。 その帽子をひっくり返す。 制限： それぞれの帽子の下には高々1枚のコインが隠れる。 同じ列にあるコインの枚数と、帽子の数を足すと偶数になり、 同じ行にあるコインの枚数と、帽子の数を足すと奇数になる。 これをnumGuesses回くりかえす。 選ばれた帽子の下にあった…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsimezi-tan.hatenadiary.org%2Fentry%2F20120709%2F1341842524&quot; title=&quot;TopCoder SRM 549 Div1 Medium MagicalHats - 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>2012-07-09 23:02:04</published>
  <title>TopCoder SRM 549 Div1 Medium MagicalHats</title>
  <type>rich</type>
  <url>https://simezi-tan.hatenadiary.org/entry/20120709/1341842524</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
