<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayanhamayan</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayanhamayan/</author_url>
  <blog_title>はまやんはまやんはまやん</blog_title>
  <blog_url>https://blog.hamayanhamayan.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>https://atcoder.jp/contests/dp/tasks/dp_j 前提知識 期待値DP 解説 https://atcoder.jp/contests/dp/submissions/3963610もし考え方違ってたら指摘ください…期待値DPをする。 何番目の寿司かということは特に関係なく、残っている個数毎に集計して問題ない。 すると、制約もあって、以下のDPが考えつく。 dp[c1][c2][c3] := 1個残りがc1個, 2個残りがc2個, 3個残りがc3個である状態にするまでの操作回数の期待値 mathさんの期待値と条件付確率を読む。 これの条件付き期待値を使って解いてみ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F01%2F09%2F001607&quot; title=&quot;Sushi [Educational DP Contest / DP まとめコンテスト J] - はまやんはまやんはまやん&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-01-09 00:16:07</published>
  <title>Sushi [Educational DP Contest / DP まとめコンテスト J]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/01/09/001607</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
