<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>simezi_tan</author_name>
  <author_url>https://blog.hatena.ne.jp/simezi_tan/</author_url>
  <blog_title>simezi_tanの日記</blog_title>
  <blog_url>https://simezi-tan.hatenadiary.org/</blog_url>
  <categories>
    <anon>貪欲法</anon>
    <anon>データ構造</anon>
  </categories>
  <description>問題 日本語なので本文参照（http://utpc2013.contest.atcoder.jp/tasks/utpc2013_04） 二分ヒープを表す長さnの配列a[i]がある。 二分ヒープを表す長さm（m≧n)の配列b[i]で、b[i]の後ろn個がa[i]になっているものが存在すれば、その最小のmを、なければ-1を答えよ。 制約条件 n≦100 a[i]≦10^9 ここで、配列a[i]が二分ヒープをあらわすとは、 a[i]の要素が全て異なる0以上の整数であり、a[i]はa[i*2 + 1], a[i*2 + 2]（存在すれば）より真に小さいことを言うものとする。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsimezi-tan.hatenadiary.org%2Fentry%2F20140304%2F1393867869&quot; title=&quot;UTPC2013 D 壊れかけのヒープ - simezi_tanの日記&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>2014-03-04 02:31:09</published>
  <title>UTPC2013 D 壊れかけのヒープ</title>
  <type>rich</type>
  <url>https://simezi-tan.hatenadiary.org/entry/20140304/1393867869</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
