<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amifiable</author_name>
  <author_url>https://blog.hatena.ne.jp/amifiable/</author_url>
  <blog_title>あるエンジニアのAtCoder奮闘記</blog_title>
  <blog_url>https://ami-atcoder.hatenablog.com/</blog_url>
  <categories>
    <anon>競プロ</anon>
    <anon>AtCoder</anon>
    <anon>ABC124</anon>
    <anon>D問題</anon>
    <anon>Go</anon>
  </categories>
  <description>irisruneです。新しめのABC-D問題を扱うのは久々ですね。 atcoder.jp 解説だけでも3種類の解き方が示されていますが、 今回用いた解き方は累積和を用いたしゃくとり法に少し近い解き方です。見た瞬間はUnion-Find木使うのかと思いました。 package main import ( &quot;fmt&quot; ) func maxInt(a, b int) int { switch { case a &gt;= b: return a default: return b } } func main() { var n, k int var str string fmt.Scan(&amp;n, &amp;k, …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fami-atcoder.hatenablog.com%2Fentry%2F20190415%2F1555305086&quot; title=&quot;ABC 124-D Handstand を累積和を用いて解いてみる(Go) - あるエンジニアのAtCoder奮闘記&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.user.blog.st-hatena.com/default_entry_og_image/154149487/1553670776372553</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-04-15 14:11:26</published>
  <title>ABC 124-D Handstand を累積和を用いて解いてみる(Go)</title>
  <type>rich</type>
  <url>https://ami-atcoder.hatenablog.com/entry/20190415/1555305086</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
