<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mmxsrup</author_name>
  <author_url>https://blog.hatena.ne.jp/mmxsrup/</author_url>
  <blog_title>srupのメモ帳</blog_title>
  <blog_url>https://mmxsrup.hatenablog.com/</blog_url>
  <categories>
    <anon>yukicoder</anon>
    <anon>dp</anon>
    <anon>組み合わせ</anon>
    <anon>数え上げ</anon>
  </categories>
  <description>問題 問題概要 組み合わせの数え上げ 解法 まず、すべてソートしてく。全探索をして、それぞれの家族がどのマットを使うかを決める。それが条件を満たしたものであれば、ほかのものは選ぶ選ばないの選択がある。 dpのほうがわかりやすいな。状態数は2つで、1つは、何枚目までを考えているか、もう一つは、条件を満たしている数である。 dp[i][j] := i番目のマットまでで考えて、j=1ならBのマットは条件を満たし、j=2ならBCのマットは条件を満たし、j=3ならすべてのマットの条件を満たすとしてやる。 漸化式は、i番目のマットが、新たに次の条件を満たす大きさであるなら(j=1なら次はc以上の大きさであ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2016%2F09%2F30%2F143101&quot; title=&quot;yukicoder No.412 花火大会 - srupのメモ帳&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>2016-09-30 14:31:01</published>
  <title>yukicoder No.412 花火大会</title>
  <type>rich</type>
  <url>https://mmxsrup.hatenablog.com/entry/2016/09/30/143101</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
