Codeforces Round#498(Div.3)E. Military Problem(dfs序)

NoSuchKey