<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayanhamayan</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayanhamayan/</author_url>
  <blog_title>はまやんはまやんはまやん</blog_title>
  <blog_url>https://blog.hamayanhamayan.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>https://yukicoder.me/problems/no/1189 解説 https://yukicoder.me/submissions/538264 制約を順番に見ていこう。 まず、総和とXOR和が等しくなる条件というのは、数列BをすべてANDしたときに0になることが必要である。 これは総和で繰り上がりが発生してしまうとXOR和と差が出てしまうためである。 つまり、今回の問題は数列AからK個をビットがかぶらないように選べという問題となる。 怪しい制約 今回は制約にトリックがある。 A[i]が210-1が上限となっているのに対し、個数がN個である。 ビットがかぶってはいけないので、大…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F08%2F22%2F185116&quot; title=&quot;Sum is XOR [yukicoder 1189] - はまやんはまやんはまやん&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>2020-08-22 18:51:16</published>
  <title>Sum is XOR [yukicoder 1189]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/08/22/185116</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
