<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>peroon</author_name>
  <author_url>https://blog.hatena.ne.jp/peroon/</author_url>
  <blog_title>perogram</blog_title>
  <blog_url>https://perogram.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>Quiz https://yukicoder.me/problems/no/844 AC https://yukicoder.me/submissions/508731 dpテーブル VI dp(N+5, -A); // 最後に引いた線がiのときの最大スコア dp[0] = 0; 解説 右端ごとにまとめて、右端が小さいものから処理してDP マスに番号がありますが、私は線にも番号を付けました（下記画像）。こうするとdp[0]=0となっていい感じ 現在考えている範囲（(l, r, p)の組）を採用するとした時、過去のベストとぴったり端が一致するかどうかで線を引く本数が変わることに注意</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperogram.hateblo.jp%2Fentry%2F2020%2F07%2F10%2F094030&quot; title=&quot;No.844 split game - perogram&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>https://cdn-ak.f.st-hatena.com/images/fotolife/p/peroon/20200710/20200710094024.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-07-10 09:40:30</published>
  <title>No.844 split game</title>
  <type>rich</type>
  <url>https://perogram.hateblo.jp/entry/2020/07/10/094030</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
