<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kazun_kyopro</author_name>
  <author_url>https://blog.hatena.ne.jp/Kazun_kyopro/</author_url>
  <blog_title>Kazun の競プロ記録</blog_title>
  <blog_url>https://kazun-kyopro.hatenablog.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
    <anon>ABC</anon>
    <anon>ABC234</anon>
    <anon>D問題</anon>
    <anon>400 pts</anon>
  </categories>
  <description>問題 atcoder.jp 提出解答 atcoder.jp 問題の概要 の並び替え が与えられる. に対して, 以下を求めよ. において 番目に大きい整数 制約 は の並び替え. 解法 各 ごとに 番目を求めていくと, 計算量 で間に合わないが, 出力すべき整数は単調増加になっている. また, においての答えを とする. ならば, のときも である. のときは, での 番目の値は, の より大きい最小の整数である. 単調増加であることも合わせて, のとき, から条件を満たすかどうかをみるという処理にすることで, 計算量 で求めることができる.</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazun-kyopro.hatenablog.com%2Fentry%2FABC%2F234%2FD&quot; title=&quot;AtCoder Beginner Contest 234 D 問題 Prefix K-th Max - Kazun の競プロ記録&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>2022-01-09 00:19:09</published>
  <title>AtCoder Beginner Contest 234 D 問題 Prefix K-th Max</title>
  <type>rich</type>
  <url>https://kazun-kyopro.hatenablog.com/entry/ABC/234/D</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
