<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inamori</author_name>
  <author_url>https://blog.hatena.ne.jp/inamori/</author_url>
  <blog_title>inamori’s diary</blog_title>
  <blog_url>https://inamori.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>https://atcoder.jp/contests/abc306/tasks/abc306_fふつうに数えていったらとても間に合わないので、別の数え方を考えます。 入力例1を考えると、順位を0ベースとして、1と同じ列とその下に自分より小さい数が無いのでカウント無しで、3は1と2があるので、2カウントします。8は同じ列とその下に3つあるので、3カウントします。もう少し分かりやすくするために全てのAをソートして何列目かにすると、 1 2 1 3 3 2となります。そのときに各列がその前にいくつあったかを調べると、 1 2 1 3 3 2 0 1 1 2 2 2 2 0 0 1 1 1 1 2 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2023%2F06%2F20%2F203051&quot; title=&quot;AtCoder Beginner Contest 306 F - inamori’s diary&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>2023-06-20 20:30:51</published>
  <title>AtCoder Beginner Contest 306 F</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/2023/06/20/203051</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
