<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nobu-q</author_name>
  <author_url>https://blog.hatena.ne.jp/nobu-q/</author_url>
  <blog_title>nobu-qの日記</blog_title>
  <blog_url>https://nobu-q.hatenadiary.org/</blog_url>
  <categories>
    <anon>PKU</anon>
    <anon>AC</anon>
  </categories>
  <description>漸化式にならないなら再帰のプログラム書いてからそれをDPに直せば良いじゃん。俺は人生で数式よりもプログラムに触れてた時間の方が32倍(当社比)くらいなげーんだよ！って開き直って適当に再帰で書いてみた。 bool search(int sum, int target) { for (int i = 6; i &gt;= 1; i--) { if (a[i] &gt; 0) { if (sum + i == target) return true; if (sum + i &gt; target) return false; a[i]--; if (search(sum + i, target)) return t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnobu-q.hatenadiary.org%2Fentry%2F20070906%2F1189100583&quot; title=&quot; 1014 - nobu-qの日記&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>2007-09-06 02:43:03</published>
  <title> 1014</title>
  <type>rich</type>
  <url>https://nobu-q.hatenadiary.org/entry/20070906/1189100583</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
