{"url":"https://mmxsrup.hatenablog.com/entry/2017/01/04/144751","author_url":"https://blog.hatena.ne.jp/mmxsrup/","description":"\u554f\u984c \u554f\u984c\u6982\u8981 \u4efb\u610f\u306e\u30de\u30b9\u304b\u3089\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u3001\u6570\u5b57\u306e\u5927\u304d\u3044\u65b9\u3078\u9032\u3081\u308b\u3002\u7d4c\u8def\u306e\u7dcf\u6570\u3092\u6c42\u3081\u308b\u3002 \u89e3\u6cd5 dp[i][j]:= y=i,x=j\u304b\u3089\u59cb\u3081\u305f\u6642\u306e\u7d4c\u8def\u306e\u7dcf\u6570 \u3068\u3057\u3066\u3001\u518d\u5e30\u95a2\u6570\u3092\u7528\u3044\u3066\u3001\u5468\u308a\u306e4\u65b9\u5411\u3069\u3053\u3078\u3082\u9032\u3081\u306a\u3044\u30de\u30b9\u304b\u3089\u9806\u306b\u57cb\u3081\u3066\u3044\u3051\u3070\u3044\u3044\u3002\u30e1\u30e2\u5316\u3057\u3066\u304a\u3051\u3070TLE\u306b\u306a\u3089\u306a\u3044\u3002 \u30eb\u30fc\u30d7\u306e\u9806\u5e8f\u304c\u308f\u304b\u308a\u306b\u304f\u3044\u6642\u306f\u3001\u30e1\u30e2\u5316\u518d\u5e30\u304c\u3084\u308a\u3084\u3059\u3044\u3002 \u30df\u30b9 \u3059\u3050\u89e3\u3051\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3002\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u306b\u6ce8\u610f \u30b3\u30fc\u30c9 #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vint; typedef \u2026","provider_url":"https://hatena.blog","width":"100%","height":"190","author_name":"mmxsrup","image_url":null,"provider_name":"Hatena Blog","published":"2017-01-04 14:47:51","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2017%2F01%2F04%2F144751\" title=\"ABC 037 D - \u7d4c\u8def - srup\u306e\u30e1\u30e2\u5e33\" 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","title":"ABC 037 D - \u7d4c\u8def","type":"rich","blog_title":"srup\u306e\u30e1\u30e2\u5e33","blog_url":"https://mmxsrup.hatenablog.com/","categories":["abc","dp","\u30e1\u30e2\u5316\u518d\u5e30"]}