<?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/abc154/tasks/abc154_d 前提知識 期待値の線形性 解説 https://atcoder.jp/contests/abc154/submissions/10001499 期待値の線形性というのがある。 それぞれのサイコロは独立に期待値を考えることができるので、合計の期待値は期待値の合計と等しくなる。 つまり、「隣接するK個のサイコロを選んで独立に振った時に出る目の合計の期待値」は 「隣接するK個のサイコロを選んで独立に振った時に出る目の期待値の合計」と等しい。 なので、最大化したい値の計算が区間和に帰着した。 隣接するK…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F02%2F09%2F225043&quot; title=&quot;Dice in Line [AtCoder Beginner Contest 154 D] - はまやんはまやんはまやん&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-09 22:50:43</published>
  <title>Dice in Line [AtCoder Beginner Contest 154 D]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/02/09/225043</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
