{"blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","height":"190","author_name":"a_kawashiro","author_url":"https://blog.hatena.ne.jp/a_kawashiro/","provider_url":"https://hatena.blog","categories":["topcoder"],"image_url":null,"title":"SRM428 div2 hard","provider_name":"Hatena Blog","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110331%2F1301562847\" title=\"SRM428 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>","type":"rich","blog_url":"https://a-kawashiro.hatenablog.com/","width":"100%","url":"https://a-kawashiro.hatenablog.com/entry/20110331/1301562847","description":"nCr\u306f\u30d1\u30b9\u30ab\u30eb\u306e\u4e09\u89d2\u5f62\u3067\u6c42\u3081\u3089\u308c\u308b\u3002 \u3042\u3068\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3059\u308b\u306e\u3067 C[i][j]=min(k+1,C[i-1][j]+C[i][j-1]); \u3068\u3057\u306a\u304f\u3066\u306f\u306a\u3089\u306a\u3044\u3002 #include <string> typedef long long LL; using namespace std; class TheDictionary { public: LL C[110][110]; string find(int n, int m, int _k) { LL k=_k; int len=n+m; string ans; for(int i=0;i<110;i++) for(int j=0;j<11\u2026","published":"2011-03-31 18:14:07"}