<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>emtubasa</author_name>
  <author_url>https://blog.hatena.ne.jp/emtubasa/</author_url>
  <blog_title>ツバサの備忘録</blog_title>
  <blog_url>https://emtubasa.hateblo.jp/</blog_url>
  <categories>
    <anon>構築</anon>
  </categories>
  <description>問題 提出コード 解法 操作が2種類あって考えづらいので、操作をひとまとめにします。 答えとなる数列の全ての数字にを足し、1回の操作を行うと、数列の最大値を1つ選びを減らす、というようにすると、回操作を行った後の状態はもともとの条件と同じ数列になります。 最終的な状態はにしたいので、その状態から逆向きに復元していきます。 このとき、にするという条件に変更すれば、最終的に出来上がる数列が上で行ったを足すという操作を打ち消すことができ、そのまま答えとなります。 ということで、全ての要素がの個の数字が並んだ数列について、回増やすという操作を行って元の状態に戻すことを考えると、どこか1つに集中して操作…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Femtubasa.hateblo.jp%2Fentry%2F2018%2F12%2F10%2F000000&quot; title=&quot;ABC068 D - Decrease (Contestant ver.) - ツバサの備忘録&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://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-10 00:00:00</published>
  <title>ABC068 D - Decrease (Contestant ver.)</title>
  <type>rich</type>
  <url>https://emtubasa.hateblo.jp/entry/2018/12/10/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
