<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mmxsrup</author_name>
  <author_url>https://blog.hatena.ne.jp/mmxsrup/</author_url>
  <blog_title>srupのメモ帳</blog_title>
  <blog_url>https://mmxsrup.hatenablog.com/</blog_url>
  <categories>
    <anon>yukicoder</anon>
    <anon>確率dp</anon>
    <anon>確率</anon>
  </categories>
  <description>問題 問題概要 トーナメントで勝ち進んでいく確率。 解法 dpで解いた。 dp[i][j] := i回回目の試合にj番目のひとが勝つ確率 として、漸化式にそって、ループで値を埋めていく。漸化式は簡単で、 dp[i + 1][x] += dp[i][x] * dp[i][y] * memo[x][y] のようになる。これは、i回目まで、x番目の人と、y番目の人が勝ち上がっている確率に、x番目の人とy番目の人が戦った時に、x番目の人が勝つ確率をかけている。これをi+1番目にxさんが戦う可能性のある人全員に対して行い、それらの確率を合計することで、i+1番目の試合で、x番目の人が勝つ確率がわかる。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2016%2F09%2F23%2F204548&quot; title=&quot;yukicoder No.66 輝け☆全国たこやき杯 - srupのメモ帳&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>2016-09-23 20:45:48</published>
  <title>yukicoder No.66 輝け☆全国たこやき杯</title>
  <type>rich</type>
  <url>https://mmxsrup.hatenablog.com/entry/2016/09/23/204548</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
