![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
图算
ljtlyy
这个作者很懒,什么都没留下…
展开
-
acm 4 1001
1.10012.Problem DescriptionThere are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can connect to each other. We say two village A and原创 2016-06-29 19:45:00 · 322 阅读 · 0 评论 -
acm 4 1002 最短路
1.10022.Problem DescriptionEddy begins to like painting pictures recently ,he is sure of himself to become a painter.Every day Eddy draws pictures in his small room, and he usually puts out his原创 2016-06-29 19:49:12 · 276 阅读 · 0 评论 -
acm 4 1003
1.10032.Problem Description某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政府“畅通工程”的目标是使全省任何两个城镇间都可以实现交通(但不一定有直接的道路相连,只要互相间接通过道路可达即可)。问最少还需要建设多少条道路? Input测试输入包含若干测试用例。每个测试用例的第1行给出两个正整数,分别是城镇数目N原创 2016-06-29 19:54:24 · 337 阅读 · 0 评论