Codeforces Round #302 (Div. 1) B - Destroying Roads

NoSuchKey