<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takapt0226</author_name>
  <author_url>https://blog.hatena.ne.jp/takapt0226/</author_url>
  <blog_title>takapt0226's diary</blog_title>
  <blog_url>https://takapt0226.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>解法 区間dp dp[i][j] = [i, j]の最大マッチング ソースコード int n; string c; int dp[55][55]; int dfs(int l, int r) { if (l &gt;= r) return 0; else if (dp[l][r] != -1) return dp[l][r]; int res = 0; for (int i = l + 1; i &lt;= r; ++i) if (c[l] == c[i]) chmax(res, 1 + dfs(l + 1, i - 1) + dfs(i + 1, r)); chmax(res, dfs(l + 1, r…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakapt0226.hatenablog.com%2Fentry%2F2013%2F01%2F16%2F035945&quot; title=&quot;SRM 566 Div2 Medium PenguinPals - takapt0226&amp;#39;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>2013-01-16 03:59:45</published>
  <title>SRM 566 Div2 Medium PenguinPals</title>
  <type>rich</type>
  <url>https://takapt0226.hatenablog.com/entry/2013/01/16/035945</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
