<?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://yukicoder.me/problems/no/995 前提知識 行列累乗 解説 https://yukicoder.me/submissions/433443 各タピオカ同士は、互いに影響を及ぼさないので、独立に計算ができる。 各タピオカについて美しさの期待値を求め、その総和をとることで、答えを導こう。 期待値は、美味しさ×タピオカが入る確率で計算ができるので、タピオカが入る確率を求めよう。 もともとタピオカがミルクティーに入っている状態のとき、移動の回数が全体で偶数回数になれば、 入っている状態になる。 これをDPで求めることを考えよう。 dp[i][p] := i回パワ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F02%2F22%2F160344&quot; title=&quot;タピオカオイシクナーレ [yukicoder 995] - はまやんはまやんはまやん&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>2020-02-22 16:03:44</published>
  <title>タピオカオイシクナーレ [yukicoder 995]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/02/22/160344</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
