<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ThreeStones</author_name>
  <author_url>https://blog.hatena.ne.jp/ThreeStones/</author_url>
  <blog_title>ThreeStonesのアレ</blog_title>
  <blog_url>https://threestones.hateblo.jp/</blog_url>
  <categories>
    <anon>TopCoder</anon>
  </categories>
  <description>サイコロの期待値 期待値 期待値は「確率で重み付けした値の和」。*1 例題*2 アリスがa面サイコロ、ボブがb面サイコロを持っている。 単純に出た目が多い方が勝ちというゲームを行う。 アリスが勝つことを知っているとき、アリスが出す出目の期待値を求めよ。 回答案 以下の式より、期待値を求める。 \[ アリスの出目の合計 / アリスが勝つ回数 \] 回答コード(C#) class FiexedDiceGameDiv2 { public double getExpectation(int a, int b){ int cnt = 0; int sum = 0; double exp = 0.0; f…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthreestones.hateblo.jp%2Fentry%2F2014%2F06%2F29%2F031329&quot; title=&quot;Match626 DIV2 500 - ThreeStonesのアレ&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://ecx.images-amazon.com/images/I/31KMqPVGRNL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-06-29 03:13:29</published>
  <title>Match626 DIV2 500</title>
  <type>rich</type>
  <url>https://threestones.hateblo.jp/entry/2014/06/29/031329</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
