<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anta1</author_name>
  <author_url>https://blog.hatena.ne.jp/anta1/</author_url>
  <blog_title>antaの競技プログラミング練習日記</blog_title>
  <blog_url>https://anta1.hatenadiary.org/</blog_url>
  <categories>
    <anon>SRM</anon>
    <anon>DP</anon>
    <anon>場合の数</anon>
  </categories>
  <description>問題 Editorial 問題 サイズamountの数値のmultisetであって、総和がnで、全ての要素がminInComp以上で、全ての要素の最大と最小の差がminDif以下であるようなものの場合の数を求めよ 5 1 解答 Editorialを参考にした。あまりよくわかっていない。 DP。 まず、minInCompは最初に(n -= amount*minInComp)してしまえば考える必要はなく、0以上で考えられる。 そのような、「全ての最低の数を引いてしまう」という考え方がさらにできる。 そのようにやると、O(amount^2*n)っぽいDPができるが、minDifが5以上であるという制…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanta1.hatenadiary.org%2Fentry%2F20130104%2F1357304534&quot; title=&quot;SRM 257 DIV1 Hard Computers - antaの競技プログラミング練習日記&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>2013-01-04 22:02:14</published>
  <title>SRM 257 DIV1 Hard Computers</title>
  <type>rich</type>
  <url>https://anta1.hatenadiary.org/entry/20130104/1357304534</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
