<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>babcs2035</author_name>
  <author_url>https://blog.hatena.ne.jp/babcs2035/</author_url>
  <blog_title>きろく</blog_title>
  <blog_url>https://babcs2035.hateblo.jp/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
    <anon>AtCoder 300 点問題</anon>
  </categories>
  <description>問題 解法 解答 問題 atcoder.jp 解法 「水やり」の回数を最小化したいので，１回の「水やり」で出来るだけ多くの花の高さを伸ばしたい．なので，あと 1 以上伸ばさなければいけない花の連続する区間は１回の「水やり」で 1 ずつ伸ばす．h_i に達した花がそれらの区間の境目となる．愚直にシミュレーションをして O(N^2)． 解答 atcoder.jp</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbabcs2035.hateblo.jp%2Fentry%2F2019%2F01%2F24%2F194333&quot; title=&quot;AtCoder Beginner Contest 116：C - Grand Garden - きろく&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-ak.f.st-hatena.com/images/fotolife/b/babcs2035/20190124/20190124194322.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-24 19:43:33</published>
  <title>AtCoder Beginner Contest 116：C - Grand Garden</title>
  <type>rich</type>
  <url>https://babcs2035.hateblo.jp/entry/2019/01/24/194333</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
