Codeforces Round #490 (Div. 3) E.Reachability from the Capital (强连通分量/Tarjan+dfs)

NoSuchKey