随笔分类 - 图论-生成树
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5253连接的管道Description老 Jack 有一片农田,以往几年都是靠天吃饭的。但是今年老天格外的不开眼,大旱。所以老 Jack 决定用管道将他的所有相邻的农田全部都串联起来,这样他就可以从远处引水...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=3371Connect the CitiesDescriptionIn 2100, since the sea level rise, most of the cities disappear. Though...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1162Eddy's pictureDescriptionEddy begins to like painting pictures recently ,he is sure of himself to be...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1102Constructing RoadsDescriptionThere are N villages, which are numbered from 1 to N, and you should bu...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2988Dark roadsDescriptionEconomic times these days are tough, even in Byteland. To reduce the operating ...
阅读全文
摘要:题目连接http://poj.org/problem?id=3625Building RoadsDescriptionFarmer John had just acquired several new farms! He wants to connect the farms with roads s...
阅读全文
摘要:题目连接http://poj.org/problem?id=2560FrecklesDescriptionIn an episode of the Dick Van Dyke show, little Richie connects the freckles on his Dad's back to...
阅读全文
摘要:题目连接http://poj.org/problem?id=2485HighwaysDescriptionThe island nation of Flatopia is perfectly flat. Unfortunately, Flatopia has no public highways. ...
阅读全文
摘要:题目连接http://poj.org/problem?id=2377Bad CowtractorsDescriptionBessie has been hired to build a cheap internet network among Farmer John's N (2 #include#...
阅读全文
摘要:题目连接http://poj.org/problem?id=1789Truck HistoryDescriptionAdvanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for veget...
阅读全文
摘要:题目连接http://poj.org/problem?id=1679The Unique MSTDescriptionGiven a connected undirected graph, tell if its minimum spanning tree is unique.Definition ...
阅读全文

浙公网安备 33010602011771号