<?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_w 前提知識 データ構造によるDP更新最適化 区間add, 区間max遅延評価セグメントツリー 解説 https://atcoder.jp/contests/dp/submissions/3963076dp[r] := r文字目まで確定していてr文字目が1であり、それ以降は0である文字列のスコアの最大値 区間系のDPでは、右端の小さい方から順番に処理していく操作をよく行う。 今回もその方法でいく。 R[r] := 右端がrである区間の{l,a}の配列 dpを順番に埋めていく。 まず、dp[r]に1を入れる場合は、d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F01%2F12%2F153435&quot; title=&quot;Intervals [Educational DP Contest / DP まとめコンテスト W] - はまやんはまやんはまやん&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-12 15:34:35</published>
  <title>Intervals [Educational DP Contest / DP まとめコンテスト W]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/01/12/153435</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
