{"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F02%2F11%2F014850\" title=\"Flood Fill [Codeforces Round #538 (Div. 2) D] - \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>","url":"https://blog.hamayanhamayan.com/entry/2019/02/11/014850","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","type":"rich","title":"Flood Fill [Codeforces Round #538 (Div. 2) D]","provider_name":"Hatena Blog","version":"1.0","height":"190","image_url":null,"width":"100%","author_name":"hamayanhamayan","description":"https://codeforces.com/contest/1114/problem/DN\u8981\u7d20\u306e\u8272\u306e\u914d\u5217C\u304c\u3042\u308b\u3002 \u3042\u308b\u8981\u7d20\u3092\u6307\u5b9a\u3059\u308b\u3002 \u6307\u5b9a\u306e\u8981\u7d20\u304b\u3089\u4ee5\u4e0b\u306e\u64cd\u4f5c\u3092\u4f55\u56de\u304b\u884c\u3063\u3066\u5168\u3066\u306e\u8272\u3092\u540c\u3058\u306b\u305b\u3088\u3002 \u64cd\u4f5c\u300c\u6307\u5b9a\u306e\u8981\u7d20\u3068\u9023\u7d50\u3057\u3066\u3044\u308b\uff08\u540c\u3058\u8272\u3067\u3064\u306a\u304c\u3063\u3066\u3044\u308b\uff09\u9818\u57df\u3092\u3042\u308b\u8272\u306b\u5909\u3048\u308b\u300d1\u2266N, C[i]\u22665000 \u524d\u63d0\u77e5\u8b58 \u533a\u9593DP \u89e3\u8aac https://codeforces.com/contest/1114/submission/49710431\u533a\u9593DP\u3092\u3059\u308b\u3002 dp[L][R][isLR] := \u533a\u9593[L,R]\u304cisLR\u306e\u8272\u306b\u540c\u8272\u3067\u5857\u3089\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u3059\u308b\u6700\u5c0f\u56de\u6570 \uff08isLR=0\u306a\u3089C[L]\u306e\u8272\u306b\u2026","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"published":"2019-02-11 01:48:50","blog_url":"https://blog.hamayanhamayan.com/"}