<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayanhamayan</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayanhamayan/</author_url>
  <blog_title>はまやんはまやんはまやん</blog_title>
  <blog_url>https://blog.hamayanhamayan.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>https://atcoder.jp/contests/dp/tasks/dp_m 前提知識 データ構造による動的計画法更新高速化 解説 https://atcoder.jp/contests/dp/submissions/3948814dp[i][k] := i人目の子供まで配り終えて、残りがk個である組み合わせ dp[i][k]からの遷移を考えると、i+1番目の子供は0～A[i]個取ることができる。 （A[i+1]が本当は正しいが、Aの添字を0-indexedと考える） rep(i, 0, N) rep(k, 0, K+1) rep(nxt, 0, A[i] + 1) dp[i+1][k-…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F01%2F10%2F235150&quot; title=&quot;Candies [Educational DP Contest / DP まとめコンテスト M] - はまやんはまやんはまやん&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>2019-01-10 23:51:50</published>
  <title>Candies [Educational DP Contest / DP まとめコンテスト M]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/01/10/235150</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
