<?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://beta.atcoder.jp/contests/arc101/tasks/arc101_b 前提知識 二分探索 解法 https://beta.atcoder.jp/contests/arc101/submissions/3082371答えで二分探索する。 check(x) := 全ての区間の中で中央値がx以上のものが過半数超えているか 全ての区間の中で中央値がx以上のものが何個あるか数えて、過半数超えしているか判定する。 まずは、条件を言い換えよう。 中央値がx以上という条件は、x以上の数が過半数を超えていると言い換えられる。 ここで、x以上の数を+1, x未満を-1と置き…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2018%2F08%2F26%2F094256&quot; title=&quot;Median of Medians [AtCoder Regular Contest 101 D] - はまやんはまやんはまやん&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>2018-08-26 09:42:56</published>
  <title>Median of Medians [AtCoder Regular Contest 101 D]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2018/08/26/094256</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
