<?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://yukicoder.me/problems/no/738 考察過程 1. かかるコストはマンハッタン距離になっている 2. 定石「マンハッタン距離の総和を最小化したいときは中央値を使う」 3. K個連続した要素を全探索して、すべて中央値にしたときのコストの最小値が答え 4. 中央値を求めるにはBIT+座圧+二分探索でできる 5. 長方形区間での総和を求める計算は、セグ木にセグ木を乗せたデータ構造を使えばいい 6. 計算量も怪しいけど大丈夫では？ 解法 https://yukicoder.me/submissions/288515K個連続した区間で 1. 中央値を求める 2. 長…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2018%2F09%2F30%2F155323&quot; title=&quot;平らな農地 [yukicoder No.738] - はまやんはまやんはまやん&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>2018-09-30 15:53:23</published>
  <title>平らな農地 [yukicoder No.738]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2018/09/30/155323</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
