hdu5046(重复覆盖+二分)
摘要:题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=5046题意:要在n个城市里建造不超过k个机场覆盖所有城市,问机场城市之间最大距离最小为多少。分析:二分距离+DLX判断,n个城市n列,然后n行,每行城市i在二分的距离内能到达列j就标为1,问题转化为选不超...
阅读全文
posted @ 2015-01-24 16:58
posted @ 2015-01-24 16:58
posted @ 2015-01-24 16:48
posted @ 2015-01-24 16:34
posted @ 2015-01-24 01:58
posted @ 2015-01-24 01:07