Codeforces Round #659 (Div. 2) C、String Transformation 1(思维+set)

NoSuchKey