<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>phyllo_algo</author_name>
  <author_url>https://blog.hatena.ne.jp/phyllo_algo/</author_url>
  <blog_title>れどこだ目指すよ！　(；`・ω・）</blog_title>
  <blog_url>https://phyllo-algo.hatenadiary.org/</blog_url>
  <categories>
    <anon>その他</anon>
  </categories>
  <description>問題 N個の部屋が1直線上に並んでおり、外からの侵略者が各部屋を狙っている。 侵略者から部屋を守りたい。 ある人は、ある区間をまとめて守ることができ、人と守れる区間のリストが与えられる。 できるだけ少ない人数で守る時、その人数を答える。 全ての部屋を守れないときはImpossibleを返す。 考え方 各部屋をノードと考えて、ある区間i〜jを守る時、iからi+1、iからi+2、、、iからj、iからj+1までコスト1の辺をはる。 1の部屋から(仮想的な)N+1の部屋まで最小コストで移動したものが、答えになる。 反省 1をカバーできるもので、一番広くカバーできるものを選ぶ。 カバーできてない範囲で一…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphyllo-algo.hatenadiary.org%2Fentry%2F20120702%2F1341246628&quot; title=&quot;KUPC2012 D.権力 - れどこだ目指すよ！　(；`・ω・）&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>2012-07-02 01:30:28</published>
  <title>KUPC2012 D.権力</title>
  <type>rich</type>
  <url>https://phyllo-algo.hatenadiary.org/entry/20120702/1341246628</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
