<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a_kawashiro</author_name>
  <author_url>https://blog.hatena.ne.jp/a_kawashiro/</author_url>
  <blog_title>a_kawashiroのブログ</blog_title>
  <blog_url>https://a-kawashiro.hatenablog.com/</blog_url>
  <categories>
    <anon>topcoder</anon>
  </categories>
  <description>calc(n)をn以下のjumpyNumを求める関数とする 答えはcalc(high)-calc(low-1) ーーーーーーーーーーーーcalc(n)の説明ーーーーーーーーーーーー 数字を文字列にして考える n=123456789のとき m=12345....なら、mはnにpos=4(0-indexed)までマッチしているということにする DP[match][pos][digit]を数を左から右に考えていったとき、 場所posがdigit(0-9)なら何通りのjumpyNumが存在するかとしてDPする。 (matchはpos=0からpos=pos-1までがマッチしているかどうかを格納する) #…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110504%2F1304477513&quot; title=&quot;SRM300 div1 medium - a_kawashiroのブログ&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>2011-05-04 11:51:53</published>
  <title>SRM300 div1 medium</title>
  <type>rich</type>
  <url>https://a-kawashiro.hatenablog.com/entry/20110504/1304477513</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
