{"description":"https://www.codechef.com/JAN18/problems/STRMRGN\u8981\u7d20\u306e\u6587\u5b57\u5217A\u3001M\u8981\u7d20\u306e\u6587\u5b57\u5217B\u304c\u3042\u308b\u3002 \u3053\u308c\u3092\u30de\u30fc\u30b8\u3057\u3066\u6587\u5b57\u5217C\u3092\u4f5c\u308b\u3002 \u30de\u30fc\u30b8\u30eb\u30fc\u30eb A\u3068B\u304b\u3089\u5168\u3066\u306e\u6587\u5b57\u3092\u4f7f\u3046 A\u306e\u6587\u5b57\u5217\u306e\u9806\u756a\u3001B\u306e\u6587\u5b57\u5217\u306e\u9806\u756a\u306f\u5d29\u3055\u3059\u30de\u30fc\u30b8\u3059\u308b \u95a2\u6570F\u3092\u7528\u610f\u3059\u308b F(S) := \u6587\u5b57\u5217S\u306e\u4e2d\u3067\u6587\u5b57\u304c\u540c\u3058\u96a3\u63a5\u3059\u308b\u6587\u5b57\u30921\u3064\u3068\u8003\u3048\u305f\u6642\u306e\u30b0\u30eb\u30fc\u30d7\u6570 F(\"aaabbbaa\") = 3 \uff08a\u306e\u30b0\u30eb\u30fc\u30d7,b\u306e\u30b0\u30eb\u30fc\u30d7,a\u306e\u30b0\u30eb\u30fc\u30d7\u30673\u3064\uff09 F(\"abcabc\") = 6 F(\"aabbccab\") = 5 \u4f5c\u308c\u308b\u6587\u5b57\u5217C\u306e\u4e2d\u3067\u306eF(C)\u306e\u6700\u5c0f\u5024\u306f\uff1f","blog_url":"https://blog.hamayanhamayan.com/","title":"String Merging [CodeChef January Challenge 2018 D]","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","provider_url":"https://hatena.blog","version":"1.0","provider_name":"Hatena Blog","width":"100%","url":"https://blog.hamayanhamayan.com/entry/2018/01/15/230532","height":"190","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","published":"2018-01-15 23:05:32","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2018%2F01%2F15%2F230532\" title=\"String Merging [CodeChef January Challenge 2018 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>","author_name":"hamayanhamayan","image_url":null}