Codeforces Round #373 (Div. 2) C. Efim and Strange Grade (模拟)

NoSuchKey