{"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","url":"https://blog.hamayanhamayan.com/entry/2019/10/27/235840","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F10%2F27%2F235840\" title=\"Fork in the Road [AtCoder Beginner Contest 144 F] - \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>","blog_url":"https://blog.hamayanhamayan.com/","width":"100%","height":"190","published":"2019-10-27 23:58:40","type":"rich","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"author_name":"hamayanhamayan","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","description":"https://atcoder.jp/contests/abc144/tasks/abc144_f \u524d\u63d0\u77e5\u8b58 \u671f\u5f85\u5024DP \u89e3\u8aac https://atcoder.jp/contests/abc144/submissions/8180528 \u30b0\u30e9\u30d5\u5168\u4f53\u306fDAG\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u671f\u5f85\u5024DP\u3092\u3059\u308b\u3053\u3068\u3067\u7b54\u3048\u304c\u6c42\u307e\u308b\u3002 \u307e\u305a\u306f\u3001\u901a\u8def\u3092\u585e\u304c\u306a\u3044\u30d1\u30bf\u30fc\u30f3\u3092\u8003\u3048\u3066\u307f\u3088\u3046\u3002 dp[cu] := \u90e8\u5c4bcur\u304b\u3089\u90e8\u5c4bN\u3078\u79fb\u52d5\u3059\u308b\u306e\u306b\u304b\u304b\u308b\u79fb\u52d5\u56de\u6570\u306e\u671f\u5f85\u5024 dp[cu] = (dp[to1] + dp[to2] + ... + dp[toM]) / M + 1 \u3053\u308c\u3067dp[0]\u304c\u7b54\u3048\u306b\u306a\u308b\u3002 \u3053\u308c\u3082\u898b\u308b\u3068\u3001\u5927\u304d\u3044\u6570\u304b\u2026","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","image_url":null,"title":"Fork in the Road [AtCoder Beginner Contest 144 F]"}