{"categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","height":"190","description":"https://atcoder.jp/contests/abc222/tasks/abc222_d \u524d\u63d0\u77e5\u8b58 DP \u89e3\u8aac https://atcoder.jp/contests/abc222/submissions/26480980 \u554f\u984c\u3092\u773a\u3081\u308b\u3068\u304b\u306a\u308aDP\u306a\u611f\u3058\u304c\u3059\u308b\u3002 \u5177\u4f53\u7684\u306b\u306f mod 998244353 \u5148\u982d\u304b\u3089\u6570\u3092\u6c7a\u3081\u3066\u3044\u304f\u3068\u5e83\u7fa9\u5358\u8abf\u5897\u52a0\u306f1\u3064\u524d\u3057\u304b\u898b\u306a\u304f\u3066\u3044\u3044 \u5236\u7d04\u7684\u306b\u4f55\u3068\u306a\u304f \u307f\u305f\u3044\u306a\u6240\u304b\u3089DP\u611f\u3092\u611f\u3058\u3066DP\u3067\u8003\u3048\u3066\u307f\u308b\u3068\u89e3\u3051\u308b\u3068\u5206\u304b\u3063\u3066\u304f\u308b\u611f\u3058\u3002 naive DP \u203b lst\u306flast, nxt\u306fnext\u306e\u3064\u3082\u308a\u3002\u95a2\u6570\u540d\u3068\u304b\u3068\u88ab\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3053\u3093\u306a\u8868\u8a18\u306b\u3057\u3066\u308b \u5358\u7d14\u306aDP\u304b\u3089\u8003\u2026","width":"100%","url":"https://blog.hamayanhamayan.com/entry/2021/10/10/133722","version":"1.0","published":"2021-10-10 13:37:22","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","image_url":null,"provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2021%2F10%2F10%2F133722\" title=\"Between Two Arrays [\u30a8\u30af\u30b5\u30a6\u30a3\u30b6\u30fc\u30ba\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c82021\uff08AtCoder Beginner Contest 222\uff09 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>","blog_url":"https://blog.hamayanhamayan.com/","author_name":"hamayanhamayan","provider_url":"https://hatena.blog","title":"Between Two Arrays [\u30a8\u30af\u30b5\u30a6\u30a3\u30b6\u30fc\u30ba\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c82021\uff08AtCoder Beginner Contest 222\uff09 D]","type":"rich"}