<?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>AtCoder</anon>
    <anon>AtCoder475点</anon>
    <anon>ABC-E</anon>
    <anon>緑色diff</anon>
    <anon>setの上手な使い方</anon>
    <anon>連想配列(setやmap)</anon>
    <anon>遅延評価セグメント木</anon>
    <anon>セグメント木上の二分探索</anon>
    <anon>mex</anon>
    <anon>考察：補集合を考える</anon>
    <anon>見積り大事</anon>
    <anon>テク:区間をsetで管理する</anon>
    <anon>数列</anon>
    <anon>クエリ処理問題</anon>
    <anon>操作:値の更新</anon>
    <anon>削除可能priority_queue</anon>
    <anon>操作:削除</anon>
    <anon>取得:最大値・最小値</anon>
    <anon>NoviSteps1Q</anon>
  </categories>
  <description>データ構造をいい感じに設計する地力が問われる！ 問題へのリンク 問題概要 長さ の数列 が与えられる。この数列に対する以下の 個のクエリに答えよ。 各クエリでは整数 が与えられる を に置き換える 置き換えたあとの数列 の mex を出力せよ 制約 考えたこと この問題を解くための考察は、とにかく次の考え方に尽きる。 非負整数全体の集合を とする。 非負整数の集合 の mex は、 の補集合 の最小の要素である。 そこで、数列 に含まれない非負整数の集合 を管理することにしよう。 は無限集合だが、今回の問題では、実際には 以下のみ管理すればよい。なぜならば、今回の問題では、mex が より大き…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2023%2F11%2F26%2F233800&quot; title=&quot;AtCoder ABC 330 E - Mex and Update (1Q, 緑色, 475 点) - けんちょんの競プロ精進記録&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-11-26 23:38:00</published>
  <title>AtCoder ABC 330 E - Mex and Update (1Q, 緑色, 475 点)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2023/11/26/233800</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
