<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kmjp</author_name>
  <author_url>https://blog.hatena.ne.jp/kmjp/</author_url>
  <blog_title>kmjp's blog</blog_title>
  <blog_url>https://kmjp.hatenablog.jp/</blog_url>
  <categories>
    <anon>SRM</anon>
  </categories>
  <description>当日、EasyとMediumを(結果的にミスしたながらも)submitしたので、Hardも少し考えていた。 結局時間切れだったけど、せっかくなので改めて解いてみる。 http://community.topcoder.com/stat?c=problem_statement&amp;pm=12197 少し考えると、最上位ビットが同じ数同士はxorすると損するので、一番大きな数がさらに大きくなるよう、最上位ビットが等しくない者同士を掛け合わせるのかな？と気づく。とはいえ、そこで詰まってしまったのでEditorialを見ながら考えていく。 コード自体はEditorialとほぼ同じだけど、過程を理解して処理…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkmjp.hatenablog.jp%2Fentry%2F2012%2F10%2F22%2F0900&quot; title=&quot;TopCoder SRM 557 Div1 Hard XorAndSum - kmjp&amp;#39;s blog&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>2012-10-22 09:00:00</published>
  <title>TopCoder SRM 557 Div1 Hard XorAndSum</title>
  <type>rich</type>
  <url>https://kmjp.hatenablog.jp/entry/2012/10/22/0900</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
