<?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_n 前提知識 区間DP 解説 https://atcoder.jp/contests/dp/submissions/3955596区間DPをする。 dp(L, R) := [L,R]の区間のスライムを1つにするためのコストの総和の最小値 自分は区間DPはメモ化再帰で実装するのが好きなので、そうしている。 ループで実装する場合は、区間が小さい方から順番に計算するように気をつけよう。 [L,R]の区間のスライムを1つにする一手前の状態を考えると、[L,R]が2つに別れていることが分かる。 なので、分ける境界を全探索して…</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%2F235656&quot; title=&quot;Slimes [Educational DP Contest / DP まとめコンテスト N] - はまやんはまやんはまやん&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:56:56</published>
  <title>Slimes [Educational DP Contest / DP まとめコンテスト N]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/01/10/235656</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
