<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>drken1215</author_name>
  <author_url>https://blog.hatena.ne.jp/drken1215/</author_url>
  <blog_title>けんちょんの競プロ精進記録</blog_title>
  <blog_url>https://drken1215.hatenablog.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
    <anon>鉄則本</anon>
    <anon>鉄則本A問題</anon>
    <anon>鉄則本★3</anon>
    <anon>座標圧縮</anon>
    <anon>そのまま覚えたい易しい教育的典型問題</anon>
    <anon>二分探索:lower_bound</anon>
    <anon>二分探索</anon>
    <anon>数列</anon>
  </categories>
  <description>座標圧縮せよ、という問題 問題へのリンク 問題概要 長さ の数列 が与えられるので、座標圧縮せよ。 制約 考えたこと 座標圧縮は次の記事に詳しく書いた。 drken1215.hatenablog.com コード #include &lt;bits/stdc++.h&gt; using namespace std; int main() { int N; cin &gt;&gt; N; vector&lt;int&gt; A(N), B; for (int i = 0; i &lt; N; i++) cin &gt;&gt; A[i]; B = A; sort(B.begin(), B.end()); B.erase(unique(B.begin(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2024%2F09%2F24%2F110851&quot; title=&quot;鉄則本 A15 - Compression (3Q, ★3) - けんちょんの競プロ精進記録&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.user.blog.st-hatena.com/default_entry_og_image/80936665/1687765056723440</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-09-24 11:08:51</published>
  <title>鉄則本 A15 - Compression (3Q, ★3)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2024/09/24/110851</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
