<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fluffyowl</author_name>
  <author_url>https://blog.hatena.ne.jp/fluffyowl/</author_url>
  <blog_title>nebukuro09の日記</blog_title>
  <blog_url>https://fluffyowl.hatenablog.com/</blog_url>
  <categories>
    <anon>問題記録</anon>
    <anon>AtCoder</anon>
    <anon>天プロ2013決勝</anon>
    <anon>DP</anon>
    <anon>bitDP</anon>
  </categories>
  <description>https://beta.atcoder.jp/contests/tenka1-2013-final/tasks/tenka1_2013_final_a 問題概要 N×Mのグリッドの各マスに対して「着色されたマスが縦・横・斜めで隣り合わない」かつ「最低1マスは着色されている」という条件のもと色を塗るとき、何通りの塗り方があり得るか求めよ。 N, M &lt;= 15 解法 上の行から順に各マスを塗る・塗らないのbitDPをしていく。遷移を単純にやると215×215かかってしまうが、そもそも215の中には正しくない塗り方（塗りが隣り合う）がかなりの数含まれているため、そういうのを飛ばす枝刈りを入れると…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffluffyowl.hatenablog.com%2Fentry%2F2018%2F08%2F11%2F172252&quot; title=&quot;天下一プログラマーコンテスト2013 決勝: A - 天下一有無 - nebukuro09の日記&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>2018-08-11 17:22:52</published>
  <title>天下一プログラマーコンテスト2013 決勝: A - 天下一有無</title>
  <type>rich</type>
  <url>https://fluffyowl.hatenablog.com/entry/2018/08/11/172252</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
