<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Area1</author_name>
  <author_url>https://blog.hatena.ne.jp/Area1/</author_url>
  <blog_title>Area1のif(memo[i][j])</blog_title>
  <blog_url>https://area.hateblo.jp/</blog_url>
  <categories>
    <anon>SRM</anon>
    <anon>DP</anon>
  </categories>
  <description>問題 目の数が異なるサイコロが複数与えられる。各サイコロの目の数はsides[]である。サイコロを一斉に降った時に、サイコロを区別しないとして出る目のパターン数を求めよ。 やりかた サイコロを目の数でソートしてDP。 dp[i][j]:=（サイコロを目の数の小さい方からi番目まで見た時にi番目の目がjであるときのパターン数）イメージ 以下ソース。 class DiceGames { public: long long countFormations(vector &lt;int&gt; sides){ sort(ALL(sides)); int N = sides.size(); vector&lt;vecto…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Farea.hateblo.jp%2Fentry%2F2014%2F12%2F21%2F225215&quot; title=&quot;SRM 349 Div1 Medium DiceGames - Area1のif(memo[i][j])&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/Area1/20141221/20141221225135.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-12-21 22:52:15</published>
  <title>SRM 349 Div1 Medium DiceGames</title>
  <type>rich</type>
  <url>https://area.hateblo.jp/entry/2014/12/21/225215</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
