<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mo2dx</author_name>
  <author_url>https://blog.hatena.ne.jp/mo2dx/</author_url>
  <blog_title>motu*2</blog_title>
  <blog_url>https://motumotu.hateblo.jp/</blog_url>
  <categories>
    <anon>AOJ</anon>
    <anon>DP</anon>
  </categories>
  <description>問題文 http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0096 概要 nが与えられたとき、a + b + c + d = n となる組み合わせ数を求めよ。 解法 全探索だと、1000^4 なので間に合わない。DP[i個目][合計]で数え上げをする。 コード #include &lt;iostream&gt; using namespace std; #define FOR(i,a,b) for(int i=(a);i&lt;(b);i++) #define REP(i,n) FOR(i,0,n) int main() { long long d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmotumotu.hateblo.jp%2Fentry%2F2014%2F12%2F10%2F001639&quot; title=&quot;AOJ 0096 Sum of 4 Integers II - motu*2&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>2014-12-10 00:16:39</published>
  <title>AOJ 0096 Sum of 4 Integers II</title>
  <type>rich</type>
  <url>https://motumotu.hateblo.jp/entry/2014/12/10/001639</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
