{"height":"190","title":"Frog 3 [Educational DP Contest / DP \u307e\u3068\u3081\u30b3\u30f3\u30c6\u30b9\u30c8 Z]","provider_name":"Hatena Blog","blog_url":"https://blog.hamayanhamayan.com/","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"image_url":null,"author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","url":"https://blog.hamayanhamayan.com/entry/2019/01/12/161237","provider_url":"https://hatena.blog","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F01%2F12%2F161237\" title=\"Frog 3 [Educational DP Contest / DP \u307e\u3068\u3081\u30b3\u30f3\u30c6\u30b9\u30c8 Z] - \u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\" 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","width":"100%","author_name":"hamayanhamayan","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","published":"2019-01-12 16:12:37","description":"https://atcoder.jp/contests/dp/tasks/dp_z \u524d\u63d0\u77e5\u8b58 CHT\u306b\u3088\u308bDP\u9ad8\u901f\u5316 \u89e3\u8aac https://atcoder.jp/contests/dp/submissions/3956069\u4ee5\u4e0b\u306e\u89e3\u8aac\u306e\u524d\u306bCHT\u306b\u3064\u3044\u3066\u308f\u304b\u3063\u3066\u3044\u306a\u3044\u3068\u4ee5\u4e0b\u306f\u7406\u89e3\u3067\u304d\u306a\u3044\u3002 \u3068\u308a\u3042\u3048\u305a\u3001\u8907\u6570\u306e1\u6b21\u95a2\u6570\u306bx\u3092\u4ee3\u5165\u3057\u305f\u3068\u304d\u306e\u6700\u5c0f\u5024\u304c\u5f97\u3089\u308c\u308b\u3068\u3044\u3046\u7406\u89e3\u3067\u3082\u3044\u3044\u3002 \u4eca\u307e\u3067\u306eEDPC\u306eFrog\u554f\u984c\u540c\u69d8\u306b dp[i] := \u8db3\u5834i\u306b\u30ab\u30a8\u30eb\u304c\u3044\u308b\u3068\u304d\u306e\u30b3\u30b9\u30c8\u306e\u7dcf\u548c\u306e\u6700\u5c0f\u5024 \u3068\u5b9a\u7fa9\u3057\u3066\u3001\u66f4\u65b0\u3057\u3066\u3044\u304f\u3002 \u3053\u308c\u3092\u8cb0\u3046DP\u3068\u3057\u3066\u3001\u6f38\u5316\u5f0f\u3092\u7acb\u3066\u3066\u307f\u308b\u3002 dp[i] = min{j=0..i-1} ((\u2026"}