<?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/972 解説 https://yukicoder.me/submissions/419463 難しい問題でした。 まず、kは奇数個のみ考えればいい。 kが偶数個の場合は中央値の計算に使われる2つのうち、大きい方を削除してもSの値が変わらないためである。 これで中央値はある要素になることが確定したので、 中央値を全探索対象とする。 A[i]を中央値としたとき、残る変数はkである。 kは奇数であるとわかっているので、k=2s+1としておこう。 すると、残りの選択肢は、A[i]未満の数をs個、A[i]より大きい数をs個選択できる。 こ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F01%2F18%2F133656&quot; title=&quot;選び方のスコア [yukicoder 972] - はまやんはまやんはまやん&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-01-18 13:36:56</published>
  <title>選び方のスコア [yukicoder 972]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/01/18/133656</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
