Codeforces Round #617 (Div. 3) E1. String Coloring (easy version) (暴力)

NoSuchKey