hard or 9102 字符串DP---Educational Codeforces Round 57 (Rated for Div. 2)

NoSuchKey