<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>simezi_tan</author_name>
  <author_url>https://blog.hatena.ne.jp/simezi_tan/</author_url>
  <blog_title>simezi_tanの日記</blog_title>
  <blog_url>https://simezi-tan.hatenadiary.org/</blog_url>
  <categories>
    <anon>TopCoder</anon>
    <anon>動的計画法</anon>
    <anon>確率・場合の数</anon>
  </categories>
  <description>問題 N曲の曲からP曲を重複を許して、以下の条件を満たすよう選ぶ。 選び方は何通りあるか、mod 10^9 + 7で求めよ。 条件： 全ての曲が少なくとも一度以上選ばれる。 同じ曲は間に少なくともM曲のほかの曲を挟む。 制約条件 N,M,P≦100</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsimezi-tan.hatenadiary.org%2Fentry%2F20120201%2F1328089328&quot; title=&quot;TopCoder SRM 531 Div1 Easy NoRepeatPlaylist - simezi_tanの日記&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>2012-02-01 18:42:08</published>
  <title>TopCoder SRM 531 Div1 Easy NoRepeatPlaylist</title>
  <type>rich</type>
  <url>https://simezi-tan.hatenadiary.org/entry/20120201/1328089328</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
