<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>baitop</author_name>
  <author_url>https://blog.hatena.ne.jp/baitop/</author_url>
  <blog_title>バイトの競プロメモ</blog_title>
  <blog_url>https://baitop.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>https://atcoder.jp/contests/exawizards2019/tasks/exawizards2019_e 解法 ほとんどの状態でi番目に黒を引く確率は1/2となる 例外はi番目に「黒が残っていない場合」と「白が残っていない場合」である i番目に黒が残っていない確率をpiとすると pi = p(i-1) + (i-1 C b-1) / 2^(i-1) / 2 前回までに黒が無くなる確率と今回無くなる確率の足し合わせでこうなる qiをi番目に白が残っていない確率とすると 答えは白と黒が残っている場合と白が残っていない場合の足し合わせになる (1 - pi - qi) / …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaitop.hatenadiary.jp%2Fentry%2F2019%2F04%2F07%2F163222&quot; title=&quot;E - Black or White - バイトの競プロメモ&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>2019-04-07 16:32:22</published>
  <title>E - Black or White</title>
  <type>rich</type>
  <url>https://baitop.hatenadiary.jp/entry/2019/04/07/163222</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
