<?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>
    <anon>過去問</anon>
  </categories>
  <description>問題 1x1のセルによって構成される長方形がある。各セルには、何もないか、コインが1枚のっている。 各ターンに、上下左右のどれか1方向に全てのコインを1セル分動かすことができる。 もし長方形の外側にでてしまったコインは消える。 正確にKコインだけを残すために必要な最小ターン数を答えよ。不可能ならば-1を返す。1 1 考え方 上下左右にすべてのコインを動かすので最終的に残るコインは長方形の内部にできる小さな長方形内のコインということになる。 もし、この小さな長方形が決定し、その内部のコインがK枚ならば、その長方形が残るように動かせばよい。 その長方形が残るように動かす最小ターン数を考える。 上下…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphyllo-algo.hatenadiary.org%2Fentry%2F20111218%2F1324175272&quot; title=&quot;SRM525 Div1 300 - れどこだ目指すよ！　(；`・ω・）&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-12-18 11:27:52</published>
  <title>SRM525 Div1 300</title>
  <type>rich</type>
  <url>https://phyllo-algo.hatenadiary.org/entry/20111218/1324175272</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
