<?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/1110 解説 https://yukicoder.me/submissions/510561 条件の言い換え 条件を少し言い換えよう。 iについて全探索して、jを数え上げるので、A[i]は固定になるので、固定じゃないjについて簡単にする。 A[i] - A[j]≧D A[i] - D≧A[j] とすると、求めるべきjはA[j]がA[i] - D以下であるものである。 これはどう求めるべきだろうか。 ソート済み配列と二分探索 これはソート済み配列を別途用意していれば、高速に取得可能である。 配列Aを別の配列に移してソートしておこ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F07%2F11%2F104955&quot; title=&quot;好きな歌 [yukicoder 1110] - はまやんはまやんはまやん&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-07-11 10:49:55</published>
  <title>好きな歌 [yukicoder 1110]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/07/11/104955</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
