<?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://beta.atcoder.jp/contests/dwacon5th-prelims/tasks/dwacon5th_prelims_b 解説 https://beta.atcoder.jp/contests/dwacon5th-prelims/submissions/3660039まず、空でない連続する部分列は全列挙可能なのでやる。 本当に愚直にやるとO(N^3)掛かるが、ある区間[L,R]の総和は累積和を用いるとO(1)にできるので、 O(N^2)で実現できる。 全列挙した部分列の総和を配列vに入れておく。 次に、AND和の最大値を考えるが、ビットごとに考えていこう。 貪欲…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2018%2F11%2F24%2F223217&quot; title=&quot;Sum AND Subarrays [Dwango Programming Contest V / 第5回 ドワンゴからの挑戦状 予選 B] - はまやんはまやんはまやん&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>2018-11-24 22:32:17</published>
  <title>Sum AND Subarrays [Dwango Programming Contest V / 第5回 ドワンゴからの挑戦状 予選 B]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2018/11/24/223217</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
