<?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>AOJ</anon>
    <anon>ICPC</anon>
    <anon>動的計画法</anon>
  </categories>
  <description>問題 空から風船が落ちてくるので、それを台車で回収したい。 それぞれの風船は、時間t[i]にx座標x[i]の地点に落ちる。 このとき台車はちょうどx[i]の位置にいる必要がある。 台車は回収した風船を、x座標が0の地点の小屋に入れることができる。 台車には風船が3つまで乗り、風船がk個乗っているときに単位距離を移動するのにかかる時間はk+1である。 台車は時刻0のとき小屋にいる。 台車は風船を全て回収できるか、できるならそのときの移動距離の最小値を、 そうでないなら最初に回収できなくなる風船の番号を答えよ。 制約条件 n≦40 x[i]≦100 t[i]≦50000</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsimezi-tan.hatenadiary.org%2Fentry%2F20110926%2F1316993557&quot; title=&quot;AOJ 1306 ICPC Asia resional 2010 Problem B: Balloon Collecting - 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>2011-09-26 08:32:37</published>
  <title>AOJ 1306 ICPC Asia resional 2010 Problem B: Balloon Collecting</title>
  <type>rich</type>
  <url>https://simezi-tan.hatenadiary.org/entry/20110926/1316993557</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
