[连通分量+贪心]Codeforces 999E Reachability from the Capital

http://codeforces.com/contest/999/problem/E

点赞

发表评论