<?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/ddcc2020-qual/tasks/ddcc2020_qual_b 解説 https://atcoder.jp/contests/ddcc2020-qual/submissions/8587116 どの切れ目を選ぶかを全探索する。 ある位置で切ったとして、片方の長さがlft, もう片方の長さがrhtであるとき、 操作を行う回数の最小値はabs(lft - rht)となる。 これを全体の総和totと今までの累積和lftを持っておくと、rht=tot-lftとなる。 回数の最小値の最小値を取ると答え。 int N; ll A[201010…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F11%2F23%2F232808&quot; title=&quot;Iron Bar Cutting [DISCO Presents Discovery Channel Code Contest 2020 Qual B] - はまやんはまやんはまやん&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>2019-11-23 23:28:08</published>
  <title>Iron Bar Cutting [DISCO Presents Discovery Channel Code Contest 2020 Qual B]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/11/23/232808</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
