
图连通
文章平均质量分 68
YOONGI
这个作者很懒,什么都没留下…
展开
-
POJ1236 Network of Schools (强连通分量 Tarjan+缩点)
Network of SchoolsA number of schools are connected to a computer network. Agreements have been developed among those schools: each school maintains a list of schools to which it distributes softwa...原创 2018-11-12 21:52:51 · 171 阅读 · 0 评论 -
Network (Tarjan求割点个数)
DescribleA Telephone Line Company (TLC) is establishing a new telephone cable network. They are connecting several places numbered by integers from 1 to N. No two places have the same number. The l...原创 2018-11-10 09:35:03 · 473 阅读 · 0 评论 -
Critical Links (Tarjan 求割边)
Critical LinksIn a computer network a link L, which interconnects two servers, is considered critical if there are at least two servers A and B such that all network interconnection paths between...原创 2018-11-13 13:14:27 · 167 阅读 · 0 评论 -
Strongly connected (强连通分量 Tarjan+缩点)
Strongly connected Give a simple directed graph with N nodes and M edges. Please tell me the maximum number of the edges you can add that the graph is still a simple directed graph. Also, after yo...原创 2018-11-13 19:58:54 · 497 阅读 · 0 评论 -
POJ - 2117 Electricity(Tarjan +割点+连通块)
Electricity Blackouts and Dark Nights (also known as ACM++) is a company that provides electricity. The company owns several power plants, each of them supplying a small area that surrounds it. Th...原创 2018-11-14 16:09:58 · 458 阅读 · 1 评论 -
HDU1269 迷宫城堡 (强连通分量 Tarjan)
迷宫城堡为了训练小希的方向感,Gardon建立了一座大城堡,里面有N个房间(N<=10000)和M条通道(M<=100000),每个通道都是单向的,就是说若称某通道连通了A房间和B房间,只说明可以通过这个通道由A房间到达B房间,但并不说明通过它可以由B房间到达A房间。Gardon需要请你写个程序确认一下是否任意两个房间都是相互连通的,即:对于任意的i和j,至少存在一条路径可以从房间...原创 2018-11-12 21:10:49 · 148 阅读 · 0 评论 -
POJ 1523 SPF (割点+连通块)
SPF Consider the two networks shown below. Assuming that data moves around these networks only between directly connected nodes on a peer-to-peer basis, a failure of a single node, 3, in the netwo...原创 2018-11-14 18:53:05 · 184 阅读 · 0 评论