<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kmjp</author_name>
  <author_url>https://blog.hatena.ne.jp/kmjp/</author_url>
  <blog_title>kmjp's blog</blog_title>
  <blog_url>https://kmjp.hatenablog.jp/</blog_url>
  <categories>
    <anon>Codeforces</anon>
  </categories>
  <description>さて本番解けなかった問題D。 周りを見ても、EよりDの方が正解者が少ないようだ。 http://www.codeforces.com/contest/268/problem/D 問題 中央の棒を取り囲むように４本の脚がある遊具がある。 1～Nの高さで、それぞれ１本ずつ中央といずれかの脚に棒を渡す。 遊具は４本の脚のいずれかが棒同士がH+1以上離れていないような構成を取れる、棒の配置の数を答える。 解法 最初４本の脚それぞれでH+1以上離れたかどうかおよび一番近い棒の高さを覚えてDPしようとした。 でも、４本の脚で棒の高さを覚えると１回O(H^4)の計算が必要なので、全部でO(NH^4)とTLE…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkmjp.hatenablog.jp%2Fentry%2F2013%2F02%2F03%2F0900&quot; title=&quot;Codeforces #164 Div2. D. Wall Bars - kmjp&amp;#39;s blog&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>2013-02-03 09:00:00</published>
  <title>Codeforces #164 Div2. D. Wall Bars</title>
  <type>rich</type>
  <url>https://kmjp.hatenablog.jp/entry/2013/02/03/0900</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
