<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>emtubasa</author_name>
  <author_url>https://blog.hatena.ne.jp/emtubasa/</author_url>
  <blog_title>ツバサの備忘録</blog_title>
  <blog_url>https://emtubasa.hateblo.jp/</blog_url>
  <categories>
    <anon>条件の作成</anon>
  </categories>
  <description>問題 提出コード 解法 まず、それぞれの文字列の中に含まれるABの個数を調べます。これは、文字列をどのように連結しても、個数が変化することはないので、そのまま答えに加算されます。 では、文字列の連結によってあらたに増えるABの個数を調べます。 文字列を連結したときに、新たにABを増やすには、 ...Aという文字列と、B...という文字列を、この順に連結する必要があり、このときに1つだけ増えます。 ということで、3種類の文字列の個数をカウントします。それは、 B...Aのように、Bで始まりAで終わる文字列 X...Aのように、B以外の文字で始まりAで終わる文字列 B...Xのように、Bで始まりA…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Femtubasa.hateblo.jp%2Fentry%2F2019%2F05%2F13%2F145342&quot; title=&quot;diverta 2019 Programming Contest C - AB Substrings - ツバサの備忘録&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>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-13 14:53:42</published>
  <title>diverta 2019 Programming Contest C - AB Substrings</title>
  <type>rich</type>
  <url>https://emtubasa.hateblo.jp/entry/2019/05/13/145342</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
