{"image_url":null,"author_name":"noshi91","description":"\u3092\u9577\u3055 \u306e\u6587\u5b57\u5217\u3068\u3059\u308b\u3002 \u306e\u90e8\u5206\u5217\u304c\u4f55\u7a2e\u985e\u3042\u308b\u304b\u6570\u3048\u4e0a\u3052\u308b\u3002 DP \u5b9a\u7fa9 \u306e\u90e8\u5206\u5217\u3067\u3042\u3063\u3066 \u3067\u7d42\u308f\u308b\u3082\u306e\u306e\u7a2e\u985e\u6570 \u306e\u90e8\u5206\u5217\u306e\u7a2e\u985e\u6570 (\u7a7a\u5217\u542b\u3080) DP \u9077\u79fb \\begin{align} \\text{dp} \\lbrack i + 1 \\rbrack \\lbrack c \\rbrack &= \\begin{cases} \\text{sum} \\lbrack i \\rbrack & \\quad ( S _ i = c ) \\cr \\text{dp} \\lbrack i \\rbrack \\lbrack c \\rbrack & \\quad ( S _ i \\neq c ) \\end{cases} \\c\u2026","blog_title":"noshi91\u306e\u30e1\u30e2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoshi91.hatenablog.com%2Fentry%2F2023%2F02%2F26%2F135340\" title=\"\u90e8\u5206\u5217 DP \u30e1\u30e2 - noshi91\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u90e8\u5206\u5217 DP \u30e1\u30e2","published":"2023-02-26 13:53:40","author_url":"https://blog.hatena.ne.jp/noshi91/","url":"https://noshi91.hatenablog.com/entry/2023/02/26/135340","type":"rich","width":"100%","provider_name":"Hatena Blog","height":"190","categories":["\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0"],"blog_url":"https://noshi91.hatenablog.com/","provider_url":"https://hatena.blog","version":"1.0"}