<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yutas213</author_name>
  <author_url>https://blog.hatena.ne.jp/yutas213/</author_url>
  <blog_title>yutasの競技プログラミング勉強帖</blog_title>
  <blog_url>https://yutas.hatenadiary.com/</blog_url>
  <categories>
    <anon>CF1872</anon>
    <anon>Codeforces</anon>
    <anon>C++</anon>
    <anon>Div.3</anon>
    <anon>Codeforces Round 895</anon>
    <anon>Diff 1500</anon>
    <anon>XOR</anon>
    <anon>bit演算</anon>
    <anon>競技プログラミング</anon>
  </categories>
  <description>問題 個の正の整数 からなる数列と、0 と 1 のみで構成された 文字の文字列 がある。 この整数列と文字列に対して、以下の2種類のクエリを用意する。 クエリ1: 1 l r （ただし、 ） であるすべての整数 に対し、 の 番目の数字を反転させる。 すなわち、 のときは に、 のときは に置き換える。 クエリ2: 2 g （ただし、） であるすべての に対して、 のbit XORをとり、その値を返す。 ただし、 である が存在しない場合は、XORの値を0とする。 2種類のクエリが 個与えられるので、その答えを表示せよ。 例 1001 に対して、5つのクエリが与えられたとき: &quot;2 0&quot; であ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyutas.hatenadiary.com%2Fentry%2F2023%2F11%2F11%2F202028&quot; title=&quot;E - Data Structures Fan / Codeforces Round 895 (Div.3) - yutasの競技プログラミング勉強帖&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>2023-11-11 20:20:28</published>
  <title>E - Data Structures Fan / Codeforces Round 895 (Div.3)</title>
  <type>rich</type>
  <url>https://yutas.hatenadiary.com/entry/2023/11/11/202028</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
