<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mmxsrup</author_name>
  <author_url>https://blog.hatena.ne.jp/mmxsrup/</author_url>
  <blog_title>srupのメモ帳</blog_title>
  <blog_url>https://mmxsrup.hatenablog.com/</blog_url>
  <categories>
    <anon>yukicoder</anon>
    <anon>メモ化再帰</anon>
    <anon>bitDP</anon>
  </categories>
  <description>問題 問題概要 省略。 解法 何番目の文字を使用したかをsetで保持しながら、再帰関数でやった。再帰関数の中は、条件を満たすものを3重ループで全探索している。メモ化再帰しなくてもギリギリ通る。メモ化すると、だいぶ速くなった。 ミス TLEを連発してつらかった。 どの順番でとるかが重要なわけだから、bitDPでできるじゃんね。 それか残ってる文字列を引数にもって、再帰関数でもいいか。 コード メモ化再帰 #include &lt;bits/stdc++.h&gt; using namespace std; typedef long long ll; typedef vector&lt;int&gt; vint; typ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2016%2F11%2F01%2F064638&quot; title=&quot;yukicoder No.437 cwwゲーム - srupのメモ帳&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>2016-11-01 06:46:38</published>
  <title>yukicoder No.437 cwwゲーム</title>
  <type>rich</type>
  <url>https://mmxsrup.hatenablog.com/entry/2016/11/01/064638</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
