Codeforces Round #247 (Div. 2) C. k-Tree

NoSuchKey