<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mayokoex</author_name>
  <author_url>https://blog.hatena.ne.jp/mayokoex/</author_url>
  <blog_title>mayoko’s diary</blog_title>
  <blog_url>https://mayokoex.hatenablog.com/</blog_url>
  <categories>
    <anon>TopCoder</anon>
  </categories>
  <description>うーん, 気づけば簡単だなぁ… 問題 TopCoder Statistics - Problem Statement 解法 基本的に, dp[n] = (問題文中の Z) というようにして, これを上手いこと部分問題に落としこむ, というように考えます。例えば, n 個のうち下の図のような真ん中らへんの頂点を最初に選んだとします。 この頂点では, その周辺が何も決まっていないので, その頂点のボールは N 通り考えられます。その後, その左右２つの Z がいくらになっているのかを計算します。(少し説明がいい加減なので後でもっときちんと言いますが)すると, 「この真ん中らへんを最初に選んだ」とい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2015%2F08%2F30%2F184528&quot; title=&quot;SRM 666 div1 med:SumOverPermutations - mayoko’s diary&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>http://cdn-ak.f.st-hatena.com/images/fotolife/m/mayokoex/20150830/20150830175552.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-08-30 18:45:28</published>
  <title>SRM 666 div1 med:SumOverPermutations</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2015/08/30/184528</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
