{"blog_title":"kurimura\u2019s diary","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkurimura.hateblo.jp%2Fentry%2F20050904%2F1125920107\" title=\" - kurimura\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/kurimura/","published":"2005-09-04 20:35:07","description":"\u6628\u65e5\u306e\u7269(http://www.kmonos.net/wlog/52.php#_0212050903)\u306f \u7d99\u627f\u3092\u4f7f\u3046\u306e\u304c\u4e00\u756a\u81ea\u7136\u3068\u6c17\u3065\u3044\u305f\u306e\u3067\u8ffd\u52a0\u3002 template fix(T){alias T fix;} class memo(T):T{ int memo[int]; int opCall(int a){ int*p = a in memo; return !p?memo[a] = super.opCall(a):*p; } } class fib{ int opCall(int n){ if(n<=1)return 1; return opCall(n-1)+opCall(n-2); }\u2026","categories":["D"],"height":"190","provider_url":"https://hatena.blog","version":"1.0","width":"100%","author_name":"kurimura","provider_name":"Hatena Blog","type":"rich","blog_url":"https://kurimura.hateblo.jp/","title":"","url":"https://kurimura.hateblo.jp/entry/20050904/1125920107"}