<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moistx</author_name>
  <author_url>https://blog.hatena.ne.jp/moistx/</author_url>
  <blog_title>Logfiles</blog_title>
  <blog_url>https://logfiles.hatenablog.com/</blog_url>
  <categories>
    <anon>AOJ</anon>
  </categories>
  <description>解法 蟻本の反転の考え方を使う。最上部を踏むか踏まないか2^10で決め打ちし、2段目からはマスの一つ上が 1 であるなら 0 に埋めることを 9*10回 繰り返す。反転のオーダーは O(M*N*2^N)蛇足 Emacsのゲームにある 5x5 で遊んだらイメージがしっかり掴めて実装が割りかしスムーズに進んだ。最上部を順に 1, 2, 4, 8, 16 と割り当て、32通りの決め打ち作業からゲームを進める。実際は元のマップの対称性より、16通り試して遊んでみるだけで良い。 #include &lt;bits/stdc++.h&gt; using namespace std; const int dx[] = …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140328%2F1395980948&quot; title=&quot;AOJ0131 Doctor&amp;#39;s Strange Particles - Logfiles&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>2014-03-28 13:29:08</published>
  <title>AOJ0131 Doctor's Strange Particles</title>
  <type>rich</type>
  <url>https://logfiles.hatenablog.com/entry/20140328/1395980948</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
