{"description":"\u89e3\u6cd5 \u91cd\u306d\u3042\u308f\u305b\u305f\u5168\u4f53\u306e\u30ab\u30fc\u30c9\u306e\u675f\u304b\u3089\u3001\uff12\u3064\u306b\u5206\u3051\u308b\u4f4d\u7f6e\u3092\u6c7a\u3081\u308b\u3088\u3046\u306b\u533a\u9593DP\u3059\u308b\u3002 \u5143\u306e\u30ab\u30fc\u30c9\u675f\u306e\u3046\u3061\uff12\u3064\u306e\u96a3\u63a5\u3059\u308b\u675f\u3092\u91cd\u306d\u308b\u3068\u3044\u3046\u52d5\u4f5c\u3092\u6700\u3082\u539f\u5b50\u7684\u306a\u3082\u306e\u3068\u3057\u3066\u3001\u540c\u69d8\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u304c\u6700\u5f8c\u307e\u3067\u5c55\u958b\u3055\u308c\u308b\u3053\u3068\u3092\u6c72\u307f\u53d6\u308c\u308c\u3070\u89e3\u3051\u308b\u3002\u53cd\u7701 \u554f\u984c\u6587\u3092\u8aad\u307e\u306a\u3044\u3068\u3044\u3051\u306a\u3044\uff08\u6212\u3081\uff09 ll cfront[100], cback[100]; ll memo[101][101]; ll dfs(int l, int r) { if(memo[l][r]) return memo[l][r]; if(l+1 == r) return 0; ll ret = INF; REP(m, l+1, r) { ret = m\u2026","provider_url":"https://hatena.blog","image_url":null,"version":"1.0","author_name":"moistx","provider_name":"Hatena Blog","height":"190","title":"AOJ0145 Cards","published":"2014-04-26 12:42:33","url":"https://logfiles.hatenablog.com/entry/20140426/1398483753","blog_title":"Logfiles","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140426%2F1398483753\" title=\"AOJ0145 Cards - Logfiles\" 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","categories":["AOJ"],"blog_url":"https://logfiles.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/moistx/","width":"100%"}