<?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/794 解説 https://yukicoder.me/submissions/319074まず、Aはソート可能なのでソートする。 ペアを考えると、A「どちらもK/2以下」、B「片方K/2以下、もう片方K/2より大きい」になる。 重要なのが、AのペアとBのペアの個数は同じであるということ。 ここで、どっちの組み合わせから数えようかとなるが、AのペアはK/2以下から適当に選べるが、BのペアはK/2より大きい数によってK/2以下の選べる数が変わる。 なので、制約の厳しいBのペアから数え上げることにしよう。 Bのペアは大きい順からペア…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F02%2F23%2F104109&quot; title=&quot;チーム戦 [yukicoder No.794] - はまやんはまやんはまやん&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-02-23 10:41:09</published>
  <title>チーム戦 [yukicoder No.794]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/02/23/104109</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
