{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140412%2F1397328117\" title=\"UVa11258 String Partition - Logfiles\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","published":"2014-04-12 03:41:57","version":"1.0","categories":["UVa"],"description":"\u554f\u984c http://uva.onlinejudge.org/external/112/11258.html\u6982\u8981 \u6570\u5b57\u5217\u3092 32bit signed integer \u306b\u53ce\u307e\u308b\u7bc4\u56f2\u3067\u4efb\u610f\u306e\u6570\u306b\u5206\u5272\u3057\u3001\u305d\u306e\u548c\u3092\u6c42\u3081\u3088\u3002\u89e3\u6cd5 \u30e1\u30e2\u5316\u518d\u5e30\u306b\u3088\u308b\u533a\u9593DP\u306e\u5178\u578b\u554f\u984c\u3002l, r, i+1 \u306e\u4f4d\u7f6e\u95a2\u4fc2\u306b\u5c11\u3057\u6ce8\u610f\u3092\u6255\u3048\u3070\u30d0\u30b0\u3092\u751f\u3080\u8981\u7d20\u306f\u5c11\u306a\u3044\u3002 dp[l][r] \u3092\u6c42\u3081\u308b\u3068\u304d\u306b\u3042\u308a\u3046\u308b\u30d1\u30bf\u30fc\u30f3\u3092\u6700\u5927\u5316\u3092\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u4e00\u5ea6 dp[l][r] \u304c\u6c42\u307e\u3063\u305f\u3089\u3001\u305d\u306e\u30e1\u30e2\u3092\u5229\u7528\u3067\u304d\u308b\u3002 #include <bits/stdc++.h> using namespace std; // memset #define CLR(m\u2026","provider_url":"https://hatena.blog","blog_title":"Logfiles","blog_url":"https://logfiles.hatenablog.com/","author_name":"moistx","image_url":null,"type":"rich","height":"190","author_url":"https://blog.hatena.ne.jp/moistx/","url":"https://logfiles.hatenablog.com/entry/20140412/1397328117","title":"UVa11258 String Partition","width":"100%"}