<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mayokoex</author_name>
  <author_url>https://blog.hatena.ne.jp/mayokoex/</author_url>
  <blog_title>mayoko’s diary</blog_title>
  <blog_url>https://mayokoex.hatenablog.com/</blog_url>
  <categories>
    <anon>TopCoder</anon>
  </categories>
  <description>頭良すぎて禿げた。 med より難しくないですかこれ。 問題 TopCoder Statistics - Problem Statement 解法 dp[i][single][pair] = i 番目の文字を見ている時点で, 「;」のようにセミコロンが単体でまだペアになる文字が決まっていないものが single 個あって, 「;_」や「;___」のようにセミコロンとアンダーバーがセットになったものが pair 個あるような場合の数 とします。すると, 答えは dp[n][0][0] となります。遷移については下のコードを参考に… const int MAXN = 222; const ll M…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2015%2F10%2F15%2F112215&quot; title=&quot;SRM 671 div1 easy:BearCries - mayoko’s diary&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>2015-10-15 11:22:15</published>
  <title>SRM 671 div1 easy:BearCries</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2015/10/15/112215</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
