Codeforces Round #166 (Div. 2) D. Good Substrings (前缀和)

NoSuchKey