<?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/1183 解説 https://yukicoder.me/submissions/536748 区間swapを行ってA=Bにしたいという問題である。 ここで区間操作に関するテクを使用する。 「区間操作は階差数列を取ることで2点要素更新に帰着させることができる」 類題をやったことがないと割と難しいかもしれないが、 今回のような01での区間swapはxorでの階差数列を取ると2点要素更新として帰着可能。 まず、以下のような配列を作る。 事前に配列A,Bの先頭に0を入れておく 配列C,Dを以下のルールで作成する C[i] = A[i]…</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%2F184554&quot; title=&quot;コイン遊び [yukicoder 1183] - はまやんはまやんはまやん&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:45:54</published>
  <title>コイン遊び [yukicoder 1183]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/08/22/184554</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
