最小生成树
文章平均质量分 85
zhangjinlei321
这个作者很懒,什么都没留下…
展开
-
Constructing Roads 克鲁斯卡尔
题目表述:There 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 B are connected, if and on...原创 2018-07-29 12:21:17 · 245 阅读 · 0 评论 -
Truck History prime
题目表述:Advanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, other for furniture, or for bricks. The company has its own code describing each type ...原创 2018-07-30 18:57:42 · 185 阅读 · 0 评论