<?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>bitDP</anon>
    <anon>順列</anon>
    <anon>全探索</anon>
  </categories>
  <description>問題 問題概要 もっとも多くの区間に含まれている数字を囲んでいる区間の総数を求める問題。 解法 すぐbitDPだろうなというのはわかる。ただ、どうやって、実装するかわからん。箱を使う最小値を求めればいいのだから、箱は大きいものから使用していけばいいことは自明。よって、おもちゃを箱に入れていく順番が重要？dpの状態として、いれたおもちゃの集合と大きい箱から何個目の箱までを使ったかをメモっておけば、その集合内で、どのような順番で箱におもちゃを入れたかはそのあとの解に影響を与えることはないので、bitDPできそう？ よくあるbitDP問題は、n=16などであり、(n!)解法の全探索を許さないが、今回…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2016%2F09%2F15%2F205709&quot; title=&quot;yukicoder No.50 おもちゃ箱 - 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-15 20:57:09</published>
  <title>yukicoder No.50 おもちゃ箱</title>
  <type>rich</type>
  <url>https://mmxsrup.hatenablog.com/entry/2016/09/15/205709</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
