摘要: 题目链接 ---------->http://acm.hdu.edu.cn/showproblem.php?pid=1421<------------- 题目分析: 有n样东西,需要搬k次,每次搬两个,搬2*k个 ,求最少力气。很明显绝对值差值越小越好,于是读入n个物品质量后排序,每一个物品只有可能 阅读全文
posted @ 2016-03-04 10:45 ACMZZ 阅读(273) 评论(0) 推荐(1) 编辑