<?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>AtCoder400点</anon>
    <anon>ABC-D</anon>
    <anon>数列</anon>
    <anon>XOR</anon>
    <anon>考察：独立に考える</anon>
    <anon>各桁ごとに見る</anon>
    <anon>解空間:O(N^2)通りの選択肢</anon>
    <anon>総和を求める</anon>
    <anon>考察：パリティに着目する</anon>
    <anon>水色diff</anon>
    <anon>NoviSteps1Q</anon>
  </categories>
  <description>考え方自体は典型的ではある 問題へのリンク 問題概要 個の整数 が与えられる。 これらから 2 個選んで XOR をとって得られる整数 ( 個ある) の総和を 1000000007 で割ったあまりを求めよ。 制約 考えたこと XOR をみたら、とにかく「各桁ごとに考える」というのが定石ではある。その視点でいうと、問題は次のように考えることができる。 桁目について、 個の値のうち、 桁目が 1 であるものの個数を とする このとき、答えには を加算する という風になる。 d 桁目が 1 である個数を求める 問題は「 個の値のうち、 桁目が 1 であるものの個数 」を求めることに帰着された。 XO…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2020%2F04%2F25%2F032000&quot; title=&quot;AtCoder ABC 147 D - Xor Sum 4 (1Q, 水色, 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>2020-04-25 03:20:00</published>
  <title>AtCoder ABC 147 D - Xor Sum 4 (1Q, 水色, 400 点)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2020/04/25/032000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
