Codeforces 938F Erasing Substrings (看题解) dp

NoSuchKey