Codeforces Round #105 (Div. 2) D题

NoSuchKey