{"published":"2016-01-14 23:20:49","title":"Facebook Hacker Cup 2016 Qualification Round Text Editor","width":"100%","height":"190","author_name":"mayokoex","blog_url":"https://mayokoex.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2016%2F01%2F14%2F232049\" title=\"Facebook Hacker Cup 2016 Qualification Round Text Editor - 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>","image_url":null,"categories":[],"provider_url":"https://hatena.blog","blog_title":"mayoko\u2019s diary","type":"rich","url":"https://mayokoex.hatenablog.com/entry/2016/01/14/232049","description":"\u554f\u984c https://www.facebook.com/hackercup/problem/1525154397757404/ \u89e3\u6cd5 \u307e\u305a, \u524d\u6e96\u5099\u3068\u3057\u3066 \u3042\u308b\u6587\u5b57\u5217\u304b\u3089\u5225\u306e\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\u969b\u306b\u5fc5\u8981\u306a\u30b3\u30b9\u30c8\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002\u3053\u308c\u306f, \u305d\u308c\u305e\u308c\u306e suffix \u304c\u3069\u3053\u307e\u3067\u4e00\u81f4\u3057\u3066\u3044\u308b\u304b\u3092\u8abf\u3079\u308b\u3053\u3068\u3067\u6c42\u3081\u3089\u308c\u307e\u3059\u3002\u307e\u305f, suffix \u3067\u30b3\u30b9\u30c8\u304c\u6c7a\u307e\u308b\u3053\u3068\u3092\u8003\u3048\u308b\u3068, \u6587\u5b57\u5217\u3092\u4f5c\u308b\u9806\u756a\u306f, \u8f9e\u66f8\u9806\u306b\u3059\u308b\u3053\u3068\u304c\u6709\u5229\u3067\u3059\u3002\u3068\u3044\u3046\u3053\u3068\u3067, dp[now][num] = (now \u500b\u76ee\u307e\u3067\u306e\u6587\u5b57\u5217\u307e\u3067\u3067 num \u500b\u306e\u6587\u5b57\u3092 print \u3057\u305f\u6642\u306e, \u64cd\u4f5c\u306e\u6700\u5c0f\u56de\u6570) \u3068\u3044\u3046 dp \u3092\u8003\u3048\u308c\u3070, \u7b54\u3048\u3092\u6c42\u3081\u3089\u308c\u307e\u2026","author_url":"https://blog.hatena.ne.jp/mayokoex/","version":"1.0","provider_name":"Hatena Blog"}