<?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/992 前提知識 座標圧縮 LIS セグメントツリー 解説 https://yukicoder.me/submissions/430662 Aに負の数が入っているのは、ちょっと面倒な気がする。 かつ、配列Aは実際の値は特に重要ではなく、数の大小だけが問題なので、座標圧縮して、[0,N)におさめておこう。 LISの解法の、セグメントツリー解法をベースに考えていこう。 先頭から順番に数を見ていきながら、セグメントツリーを更新していく。 具体的には、以下のようにセグメントツリーを作成する。 i番目の要素は、今まで見てきた要素の最後がi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F02%2F15%2F091512&quot; title=&quot;最長増加部分列の数え上げ [yukicoder 992] - はまやんはまやんはまやん&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-15 09:15:12</published>
  <title>最長増加部分列の数え上げ [yukicoder 992]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/02/15/091512</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
