{"blog_title":"mayoko\u2019s diary","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/m/mayokoex/20160602/20160602235633.jpg","title":"Typical DP Contest N - \u6728","type":"rich","provider_name":"Hatena Blog","version":"1.0","provider_url":"https://hatena.blog","categories":["AtCoder"],"blog_url":"https://mayokoex.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/mayokoex/","author_name":"mayokoex","description":"\u554f\u984c tdpc.contest.atcoder.jp \u89e3\u6cd5 \u89e3\u3044\u305f\u3068\u304d\u306e\u30e1\u30e2\u3002 \u6728dp \u3067\u89e3\u304f\u3053\u3068\u3092\u8003\u3048\u307e\u3059\u3002\u305d\u3046\u3059\u308b\u3068 dp[v] = (v \u306e\u90e8\u5206\u6728\u3067\u306e\u5834\u5408\u306e\u6570), \u306e\u3088\u3046\u306b\u3059\u308b\u306e\u304c\u81ea\u7136\u3067\u3059\u3002\u3053\u308c\u306e\u9077\u79fb\u3092\u8003\u3048\u308b\u3068, \u4e0a\u306e\u5199\u771f\u306e\u3088\u3046\u306b, \u5b50 v1 \u306e\u90e8\u5206\u6728\u306b\u3064\u3044\u3066\u8fba\u3092\u5f35\u308b\u4f5c\u696d\u3092\u3059\u308b\u3082\u306e, \u5b50 v2 \u306e\u90e8\u5206\u6728\u306b\u3064\u3044\u3066\u8fba\u3092\u5f35\u308b\u4f5c\u696d\u3092\u3059\u308b\u3082\u306e, ... \u3068\u3044\u3046\u306e\u3092\u597d\u304d\u306a\u9806\u756a\u3067\u3084\u308b\u3082\u306e\u3068\u8003\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u9806\u756a\u306b\u95a2\u3057\u3066\u306e\u5834\u5408\u306e\u6570\u306f, \u300c\u7a2e\u985e1 \u304c s1 \u500b, \u7a2e\u985e2 \u304c s2 \u500b, ... \u3068\u3042\u308b\u3068\u304d\u306e\u30dc\u30fc\u30eb\u306e\u4e26\u3079\u65b9\u300d\u306b\u7b49\u3057\u304f, \u4e0a\u306e\u5199\u771f\u306e\u3073\u3063\u304f\u308a\u30de\u30fc\u30af\u304c\u305f\u304f\u3055\u3093\u3064\u3044\u3066\u308b\u5f0f\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u3059\u2026","width":"100%","url":"https://mayokoex.hatenablog.com/entry/2016/06/03/000353","published":"2016-06-03 00:03:53","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2016%2F06%2F03%2F000353\" title=\"Typical DP Contest N - \u6728 - mayoko\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}