<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>simezi_tan</author_name>
  <author_url>https://blog.hatena.ne.jp/simezi_tan/</author_url>
  <blog_title>simezi_tanの日記</blog_title>
  <blog_url>https://simezi-tan.hatenadiary.org/</blog_url>
  <categories>
    <anon>Codeforces</anon>
    <anon>確率・場合の数</anon>
  </categories>
  <description>問題 R, G, Bの色の石が2列に並んでいる。 ひとつ目の列は文字列sで表され、もうひとつの列はtで表される。 リスがsの最初の石に乗っていて、ネコがtの最初の石に乗っている。 この状態から、以下の動作を好きなだけ繰り返すことができる。 R, G, Bのどれかの色を選ぶ。 その色の石に乗っている動物は、次の石に進む。 ただし、次の石がない場合、その色を選ぶことはできなない。 リスとネコの位置を(x, y)と表すことにすると、 (x, y)は何通りの異なる値を取ることができるか、求めよ。 制約条件 sの文字数≦10^6 tの文字数≦10^6</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsimezi-tan.hatenadiary.org%2Fentry%2F20130124%2F1358986249&quot; title=&quot;Codeforces 162D (264D) Colorful Stones - simezi_tanの日記&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>2013-01-24 09:10:49</published>
  <title>Codeforces 162D (264D) Colorful Stones</title>
  <type>rich</type>
  <url>https://simezi-tan.hatenadiary.org/entry/20130124/1358986249</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
