CF999E Reachability from the Capital dfs graph greedy
There arencities andmmroads in Berland. Each road connects a pair of cities. The roads in Berland are one-way.What is the minimum number of new roads that need to be built to make all the cities...
原创
2019-05-08 23:11:52 ·
288 阅读 ·
0 评论