<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>drken1215</author_name>
  <author_url>https://blog.hatena.ne.jp/drken1215/</author_url>
  <blog_title>けんちょんの競プロ精進記録</blog_title>
  <blog_url>https://drken1215.hatenablog.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
    <anon>EDPCとTDPC</anon>
    <anon>部分列DP</anon>
    <anon>部分列</anon>
    <anon>DP</anon>
    <anon>復元</anon>
    <anon>DP値を利用して状態復元</anon>
    <anon>シーケンシャルDP</anon>
    <anon>数え上げ問題</anon>
    <anon>文字列</anon>
    <anon>K番目を求める</anon>
    <anon>辞書順</anon>
  </categories>
  <description>いわゆる部分列を扱う DP ですね。経路復元も含んでいて少し難しい問題です。 問題へのリンク 問題概要 英小文字のみからなる長さ の文字列 が与えられます。 の部分列 (連続でなくてもよい) として考えられる文字列をすべて考えたとき、その中で辞書順で 番目のものを求めてください。 制約 解法 この問題は、まさに「部分列を走査していく DP」の典型問題となっています。詳しくは次の記事で解説しています。 qiita.com</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2021%2F08%2F10%2F193121&quot; title=&quot;TDPC (Typical DP Contest) G - 辞書順 - けんちょんの競プロ精進記録&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.user.blog.st-hatena.com/default_entry_og_image/80936665/1516148889515660</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-08-10 19:31:21</published>
  <title>TDPC (Typical DP Contest) G - 辞書順</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2021/08/10/193121</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
