<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>phyllo_algo</author_name>
  <author_url>https://blog.hatena.ne.jp/phyllo_algo/</author_url>
  <blog_title>れどこだ目指すよ！　(；`・ω・）</blog_title>
  <blog_url>https://phyllo-algo.hatenadiary.org/</blog_url>
  <categories>
    <anon>その他</anon>
  </categories>
  <description>問題 0〜9,?によって構成されるN文字の文字列が与えられる。 ニコニコ文字列を2525...5のように「25」が連続した文字列とすると、上記の文字列からニコニコ文字列を取り出す方法がX通り以上だったことがわかっている。 このとき、元の文字列として考えられるものは何通りあるか、mod 10^9+7で求めよ。1 0 考え方 i-1文字まで処理が終わってるとして、i文字目を考えたとき、「i文字目までで2525...が何文字続いているか？」がわかると、この2525...から取り出せるニコニコ文字列の取り出し方が求められる。(k文字続いているとして、偶数文字目ならば1+2+...+k/2がi文字目まで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphyllo-algo.hatenadiary.org%2Fentry%2F20150227%2F1425066837&quot; title=&quot;dowangoプログラミングコンテスト決勝 A.ニコニコ文字列2 - れどこだ目指すよ！　(；`・ω・）&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>2015-02-27 04:53:57</published>
  <title>dowangoプログラミングコンテスト決勝 A.ニコニコ文字列2</title>
  <type>rich</type>
  <url>https://phyllo-algo.hatenadiary.org/entry/20150227/1425066837</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
