<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a_kawashiro</author_name>
  <author_url>https://blog.hatena.ne.jp/a_kawashiro/</author_url>
  <blog_title>a_kawashiroのブログ</blog_title>
  <blog_url>https://a-kawashiro.hatenablog.com/</blog_url>
  <categories>
    <anon>topcoder</anon>
  </categories>
  <description>ステージ１： ４番を爆破したとする。すると１番も開けることができる。 このような連鎖関係で箱を分ける。 このグループの数が爆弾の数より少ないならすべての箱を開けることができる。 そのようになる箱の分け方の場合の数を求めて(箱の数)!で割ればいい。 ステージ２： ”DP[箱の数][グループの数]＝分け方”というDPを考える。 DP[1][1]=1は明らか DP[i][j]は１：箱iが１つで１グループを形成する場合がDP[i-1][j-1] ２：箱iが他のグループに入り込む場合は(i-1)*DP[i-1][j] (i-1個の箱ををj個のグループに分けたあと箱iを押し込む） ステージ３： 規約分数に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110430%2F1304172356&quot; title=&quot;SRM391 div1 medium - a_kawashiroのブログ&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://cdn-ak.f.st-hatena.com/images/fotolife/a/a_kawashiro/20110430/20110430224945.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-04-30 23:05:56</published>
  <title>SRM391 div1 medium</title>
  <type>rich</type>
  <url>https://a-kawashiro.hatenablog.com/entry/20110430/1304172356</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
