Codeforces Round #504 A Single Wildcard Pattern Matching

NoSuchKey