<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>betrue12</author_name>
  <author_url>https://blog.hatena.ne.jp/betrue12/</author_url>
  <blog_title>ARMERIA</blog_title>
  <blog_url>https://betrue12.hateblo.jp/</blog_url>
  <categories>
    <anon>Codeforces</anon>
    <anon>プログラミング</anon>
    <anon>競技プログラミング</anon>
  </categories>
  <description>Problem - C - Codeforces 問題概要 ※0-indexedで記載します。 実数列 が与えられる。（初期状態では各要素は正整数） この実数列に対して、「ある連続する区間を選び、その区間に含まれる要素全てをそれらの平均で置き換える」という操作を好きな回数繰り返す。 これによって得られる辞書順最小の数列を求めよ。 制約 解法 操作区間の形を限定する 操作する区間が入り組んでいるととても考えづらいので、まずここを解消します。実は以下のことが成り立ちます。 最適解を実現する操作列で、操作区間が互いに重ならないようなものが存在する。 このような性質を証明するための常套手段である、「操…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbetrue12.hateblo.jp%2Fentry%2F2020%2F02%2F11%2F151835&quot; title=&quot;Codeforces Round #618 C. Water Balance - ARMERIA&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>https://chart.apis.google.com/chart?cht=tx&amp;chl=%20a_%7B0%7D%2C%20...%2C%20a_%7Bn-1%7D</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-02-11 15:18:35</published>
  <title>Codeforces Round #618 C. Water Balance</title>
  <type>rich</type>
  <url>https://betrue12.hateblo.jp/entry/2020/02/11/151835</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
