<?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/970 解説 https://yukicoder.me/submissions/418567 平均は分数の形になっていて少し扱いにくいので、b[i]をN-1倍して考える。 すると、b[i]はa[i]以外の総和になるので、この時点で全部の総和が分かれば答えられそうだなと分かる。 総和を求めたいが、ここでブレイクスルーが必要となる。 b[i]の総和を求めると、a[i]の総和のN-1倍が得られる。 これはb[i]はa[i]以外の和を求めているので、全て足すとa[i]がN-1回足されることになり、 全部に対してそれが言えることから分かる…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F01%2F18%2F133432&quot; title=&quot;数列変換マシン [yukicoder 970] - はまやんはまやんはまやん&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-01-18 13:34:32</published>
  <title>数列変換マシン [yukicoder 970]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/01/18/133432</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
