Codeforces Round #506 (Div. 3) ---- A Many Equal Substrings (串) ★

NoSuchKey