{"provider_name":"Hatena Blog","blog_url":"https://sune2.hatenadiary.org/","width":"100%","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsune2.hatenadiary.org%2Fentry%2F20120418%2F1334759438\" title=\"2139 - Memory Match - \u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0+\u03b1\u306a\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0+\u03b1\u306a\u30d6\u30ed\u30b0","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/sune2/","description":"\u554f\u984c \uff12\u679a\u305a\u3064\u306eM\u7a2e\u985e\u306e\u30ab\u30fc\u30c9N(=2M)\u679a\u3067\uff11\u4eba\u795e\u7d4c\u8870\u5f31\u3092\u3059\u308b\u3002 \u4eca\u307e\u3067\u306b\u958b\u3051\u305f\u30ab\u30fc\u30c9\u5168\u3066\u3092\u8a18\u61b6\u51fa\u6765\u308b\u3068\u304d\u3001\u30df\u30b9\u30de\u30c3\u30c1\u3059\u308b\u56de\u6570\u306e\u671f\u5f85\u5024\u3092\u6c42\u3081\u3088\u3002 \u5236\u7d04 2 \u89e3\u6cd5 \u30ab\u30fc\u30c9\u3092\uff11\u5217\u306b\u4e26\u3079\u305f\u3082\u306e\u3092\u30a4\u30e1\u30fc\u30b8\u3057\u3066\u3001\u5de6\u304b\u3089\u9806\u306b\u958b\u3051\u3066\u3044\u304f\u3002 \u4eca\u958b\u3051\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u30ab\u30fc\u30c9\u306e\u4f4d\u7f6e\u3001\uff11\u56de\u958b\u3051\u305f\u304c\u307e\u3060\u30de\u30c3\u30c1\u3057\u3066\u3044\u306a\u3044\u30ab\u30fc\u30c9\u306e\u679a\u6570\u3092\u5f15\u6570\u3068\u3057\u3066\u30e1\u30e2\u5316\u518d\u5e30\u3002 \u30bd\u30fc\u30b9 double memo[1000][1000]; int n; double solve(int now, int rest) { // rest : \u958b\u3051\u305f\u3051\u3069\u6b8b\u3063\u3066\u3044\u308b\u3082\u306e if (now >= n) return 0; if (memo[now][res\u2026","categories":["AOJ"],"url":"https://sune2.hatenadiary.org/entry/20120418/1334759438","published":"2012-04-18 23:30:38","type":"rich","height":"190","author_name":"sune2","title":"2139 - Memory Match","image_url":null}