图论
文章平均质量分 86
校园苦行生
这个作者很懒,什么都没留下…
展开
-
Oil Deposits(深度或广度搜索)
HDOJ 1241: Problem Description The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at原创 2013-04-20 11:39:33 · 412 阅读 · 0 评论 -
Agri-Net
POJ1258: Description Farmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity to all farms in the area. He needs your help, of course.原创 2013-07-15 19:51:07 · 502 阅读 · 0 评论 -
畅通工程(并查集)
HDOJ 1232: Problem Description 某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政府“畅通工程”的目标是使全省任何两个城镇间都可以实现交通(但不一定有直接的道路相连,只要互相间接通过道路可达即可)。问最少还需要建设多少条道路? Input 测试输入包含若干测试用例。每个测试用例的第1行给原创 2013-03-30 20:56:41 · 417 阅读 · 0 评论