{"description":"\u30e1\u30e2\u5316\u518d\u5e30\u3002 \u6570\u5b57\u306e\u51e6\u7406\u304c\u3084\u3084\u3053\u3057\u3044\uff0b\u30b3\u30d4\u30da\u30df\u30b9\u3067150\u70b9\u3002 #include <algorithm> #include <cstring> using namespace std; typedef long long LL; class NumbersAndMatches { public: int len; int number[20]; int addMatch[10][10]; int moveMatch[10][10]; LL cache[20][300][200]; LL rec(int k,int leftMatch,int canMove) { LL &r=cache[k][l\u2026","blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","title":"SRM454 div1 medium","height":"190","width":"100%","url":"https://a-kawashiro.hatenablog.com/entry/20110412/1302614779","categories":["topcoder"],"published":"2011-04-12 22:26:19","provider_url":"https://hatena.blog","blog_url":"https://a-kawashiro.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/a_kawashiro/","provider_name":"Hatena Blog","author_name":"a_kawashiro","image_url":null,"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110412%2F1302614779\" title=\"SRM454 div1 medium - a_kawashiro\u306e\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>","version":"1.0"}