<?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://yukicoder.me/problems/no/1029 前提知識 動的計画法 解説 https://yukicoder.me/submissions/466479 ある文字列があったときに、その文字列がレベルKのJOI文字列を部分列に持つかどうかを確かめるには、 先頭から貪欲にJOIを取っていくのがいい。 この貪欲操作をDPに組み込んでとく。 dp[joi][cnt] := 貪欲にJOI文字列を取っていった場合に、最後がJOIのjoi番目がcnt個続いている状態のコスト最小値 ここからの遷移は最後にN個ある文字列のうち、どれを結合するかのN通りである。 この時の、Jが+1で…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F04%2F18%2F125304&quot; title=&quot;JJOOII 3 [yukicoder 1029] - はまやんはまやんはまやん&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>2020-04-18 12:53:04</published>
  <title>JJOOII 3 [yukicoder 1029]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/04/18/125304</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
