<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tsuyosix</author_name>
  <author_url>https://blog.hatena.ne.jp/tsuyosix/</author_url>
  <blog_title>たいやきブログ</blog_title>
  <blog_url>https://t11a.hatenablog.com/</blog_url>
  <categories>
    <anon>TopCoder</anon>
  </categories>
  <description>[解法] A，Bの文字を後ろから操作していって，Bと同じ並びになっていないAの文字数が答えである．それが答えになる理由は，同じ並びになっている文字は順序を変える必要がなく，変える必要があるのは並びが異なる文字だけだからだ． A=&quot;DCABA&quot; B=&quot;DACBA&quot; たとえば，A，Bが上記のとき，2文字目のC，4,5文字目のB，Aは文字列Bと同じ並びなので移動する必要がなく，残った1文字目と3文字目のD，Aを移動すればよいことになる．</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ft11a.hatenablog.com%2Fentry%2F2014%2F01%2F30%2F073935&quot; title=&quot;TopCoder SRM597 Div2 Level 2 LittleElephantAndString - たいやきブログ&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>2014-01-30 07:39:35</published>
  <title>TopCoder SRM597 Div2 Level 2 LittleElephantAndString</title>
  <type>rich</type>
  <url>https://t11a.hatenablog.com/entry/2014/01/30/073935</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
