<?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>Codeforces</anon>
    <anon>Greedy</anon>
    <anon>再帰的構造に着目する</anon>
    <anon>XOR</anon>
    <anon>数列</anon>
    <anon>各桁ごとに見る</anon>
    <anon>最大値の最小化</anon>
    <anon>辞書順</anon>
    <anon>再帰的に上位桁から順に値で分類した木を作る</anon>
    <anon>0と1の問題</anon>
    <anon>CodeforcesDIV2</anon>
    <anon>CodeforcesR1800</anon>
  </categories>
  <description>こういう貪欲に突き進む処理を書くの、実はかなり苦手かもしれない 問題へのリンク 問題概要 個の 0 以上の整数 が与えられる。上手に正の整数 を選ぶことで、 XOR XOR ... XOR の値の最大値の最小値を求めよ。 制約 考えたこと 最小値を求めたいということで、一番上の桁から順に辞書順に決めていく。まず一番上の桁 桁目について、 個の整数について、 桁目がすべて 1 なら、丸ごとすべて 0 にできる すべて 0 なら、そのままで丸ごとすべて 0 にできる ということがわかる。そうでない場合には、 0 の組を 1 にする代わりに、1 の組は 0 にする (このとき、1 の組のことはケアす…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2020%2F01%2F12%2F175100&quot; title=&quot;Codeforces #613 (Div. 2) D. Dr. Evil Underscores (R1800) - けんちょんの競プロ精進記録&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>2020-01-12 17:51:00</published>
  <title>Codeforces #613 (Div. 2) D. Dr. Evil Underscores (R1800)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2020/01/12/175100</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
