<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>drken1215</author_name>
  <author_url>https://blog.hatena.ne.jp/drken1215/</author_url>
  <blog_title>けんちょんの競プロ精進記録</blog_title>
  <blog_url>https://drken1215.hatenablog.com/</blog_url>
  <categories>
    <anon>NoviSteps2Q</anon>
    <anon>AtCoder</anon>
    <anon>AtCoder400点</anon>
    <anon>茶色diff</anon>
    <anon>ABC-D</anon>
    <anon>二分探索</anon>
    <anon>データ構造テク：前処理</anon>
    <anon>二分探索:lower_bound</anon>
    <anon>数列</anon>
    <anon>クエリ処理問題</anon>
    <anon>K番目を求める</anon>
    <anon>二分探索:K番目を求める</anon>
    <anon>二分探索:工夫して求めた配列上のlower_bound</anon>
  </categories>
  <description>色んな方法があるが、できるだけ楽にやりたい！ 問題へのリンク 問題概要 単調増加な 要素からなる数列 がある。この数列について、次の 回のクエリに答えよ。 【クエリ】 整数 が与えられるので、 のどれとも異なる数値 (よい数と呼ぶこととする) のうち、小さい方から 番目の値を求めよ。 制約 考えたこと いろんな方法が考えられる。 自分が最初にやったのは「 以下のよい数は何個あるか」という判定問題を解くことで、二分探索するという方法だった。この判定問題を解くこと自体に、通常 lower_bound() を活用する方法が考えられるので、全体として の計算量となる。 ここでは、もっと計算量の小さい方…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2024%2F05%2F20%2F004045&quot; title=&quot;AtCoder ABC 205 D - Kth Excluded (2Q, 茶色, 400 点) - けんちょんの競プロ精進記録&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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/80936665/1687765056723440</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-05-20 00:40:45</published>
  <title>AtCoder ABC 205 D - Kth Excluded (2Q, 茶色, 400 点)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2024/05/20/004045</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
