<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Suikaba</author_name>
  <author_url>https://blog.hatena.ne.jp/Suikaba/</author_url>
  <blog_title>すいバカ日誌</blog_title>
  <blog_url>https://suikaba.hatenablog.com/</blog_url>
  <categories>
    <anon>競プロ</anon>
    <anon>AtCoder</anon>
    <anon>TDPC</anon>
  </categories>
  <description>問題文 http://tdpc.contest.atcoder.jp/tasks/tdpc_concatenation 解法 同じ文字列を複数選んでも良いので，何を使ったかを保存する必要はないです． 今作っている文字列の状態がどうか，がわかれば十分．そこで突然ですが，以下のような dp をします． dp[i][j][k] := 文字列が i 文字目まで出来ているとき，直近 7 文字が j で，単語の区切り位置としてありえるのが k であるような場合の数この DP において，今できている文字列から次の新しい文字列を作る時，単語単位で追加していくのではなく，文字単位(0 or 1)で追加していくと…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuikaba.hatenablog.com%2Fentry%2F2017%2F08%2F27%2F181249&quot; title=&quot;Typical DP Contest Q - 連結 - すいバカ日誌&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-08-27 18:12:49</published>
  <title>Typical DP Contest Q - 連結</title>
  <type>rich</type>
  <url>https://suikaba.hatenablog.com/entry/2017/08/27/181249</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
