<?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://community.topcoder.com/stat?c=problem_statement&amp;pm=15960 前提知識 LIS 解説 なるべく少ない個数の要素を修正して、辞書順最小の非減少列を作成するという問題。 構築の部分は後で考えるとして、修正すべき要素数を考える。 修正すべき個数の最小化ではなく、修正しなくていい個数の最大化と言い換えてみよう。 すると、これはLISと同じ問題となる。 LISのよくある回答である、セグメントツリー解法などで解いてもよいが、今回はO(N2)が許されるので、 自分より前で最も長いLISを愚直に探そう。 この時に以下の配列を構築していく。 t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F02%2F22%2F092044&quot; title=&quot;ArraySorting [Single Round Match 779 Round 1 - Division I, Level One] - はまやんはまやんはまやん&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-02-22 09:20:44</published>
  <title>ArraySorting [Single Round Match 779 Round 1 - Division I, Level One]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/02/22/092044</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
