{"author_url":"https://blog.hatena.ne.jp/a_kawashiro/","blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","categories":["topcoder"],"description":"\u5341\u516b\u756a\u306e\u30e1\u30e2\u5316\u518d\u5e30\u3002 #include <algorithm> #include <cstring> #include <string> #include <vector> using namespace std; class DancingCouples { public: vector <string> can; int bn,gn; int cache[11][11][(1<<10)]; int rec(int b,int K,int left) { int &r=cache[b][K][left]; if(r!=-1) return r; if(K==0) return r=1; if\u2026","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110318%2F1300445351\" title=\"SRM416 div2 hard - 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>","published":"2011-03-18 19:49:11","type":"rich","title":"SRM416 div2 hard","height":"190","provider_url":"https://hatena.blog","version":"1.0","url":"https://a-kawashiro.hatenablog.com/entry/20110318/1300445351","author_name":"a_kawashiro","provider_name":"Hatena Blog","blog_url":"https://a-kawashiro.hatenablog.com/","image_url":null}