<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tononyoro</author_name>
  <author_url>https://blog.hatena.ne.jp/tononyoro/</author_url>
  <blog_title>saleo note</blog_title>
  <blog_url>https://maromarogaeru.hateblo.jp/</blog_url>
  <categories>
    <anon>atcoder</anon>
  </categories>
  <description>1.方針まず、並べて実験してみる。すると、長方形の畳をA枚並べると、正方形の畳の敷き方は一通りに定まることがわかる。長方形の畳の並べ方は、左上の1メートル四方のスペースから順に敷き詰めていくと考えると、各スペース毎に「横向きに敷く」「縦向きに敷く」「何も敷かない」の3通りある計算量は3**16だが、再帰が途中で打ち切られるパターンもあるので、間に合いそう。2.ソースコード コードの途中でresを初期化しておかないと、resの値が累積的に計算されるので注意。 イメージとしては、再帰の底の値だけを拾ってくるイメージ。 h, w, a, b = map(int, input().split()) u…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmaromarogaeru.hateblo.jp%2Fentry%2F2022%2F01%2F25%2F234123&quot; title=&quot; [python] ABC196 D Hanjo - saleo note&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>2022-01-25 23:41:23</published>
  <title> [python] ABC196 D Hanjo</title>
  <type>rich</type>
  <url>https://maromarogaeru.hateblo.jp/entry/2022/01/25/234123</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
