<?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://products.sint.co.jp/hubfs/resource/topsic/pgb/3-1.pdf 解説 入力例で正しいことしか確認できていません！落ちる可能性ありますので、ご注意ください （本番では、Aの配列サイズをNにしていて落ちた） 公式解説 とりあえず、入力の配列の順番に特に制約が無いので、ソートしておこう。 最小値の最大化なので、競技プログラミングの常套テクで言うと「二分探索」になるので、とりあえずそれで考えてみる。 下限をmiとすると、ソート済みの最初の要素が割り当て可能な数は、末尾のある一定の区間のどれかになる。 その次の要素も末尾のある一定の区間のどれか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F09%2F28%2F201931&quot; title=&quot;距離最小最大 [PG BATTLE 2019 かつおぶし A] - はまやんはまやんはまやん&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-09-28 20:19:31</published>
  <title>距離最小最大 [PG BATTLE 2019 かつおぶし A]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/09/28/201931</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
