<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>parukii</author_name>
  <author_url>https://blog.hatena.ne.jp/parukii/</author_url>
  <blog_title>parukiのブログ</blog_title>
  <blog_url>https://par.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>部分文字列の文字の順序は関係ない つまり、部分文字列は任意の順序に並び替えることができる。 隣接する異なる2文字を入れ替えられることを示す。 AB →BBB →BBAA →BBBBA →BA したがって、任意の隣接する2文字は入れ替えられる。なのでバブルソートの要領で任意の順位並び替えることができる。したがって、部分文字列の順序は関係ない。そのため、以下はA,Bの個数だけ考える。 A,Bの個数はmod 3で考えればいい。 &quot;AAA&quot;→&quot;&quot; &quot;BBB&quot;→&quot;&quot; のような操作が可能であった。実は空でない文字列について逆の操作が可能。 空でない文字列に対して&quot;&quot;→&quot;AAA&quot;の操作が常にできることを示す…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpar.hateblo.jp%2Fentry%2F2017%2F04%2F09%2F224459&quot; title=&quot;Atcoder ARC E: TrBBnsformBBtion - parukiのブログ&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>2017-04-09 22:44:59</published>
  <title>Atcoder ARC E: TrBBnsformBBtion</title>
  <type>rich</type>
  <url>https://par.hateblo.jp/entry/2017/04/09/224459</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
