会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
null1019
博客园
首页
新随笔
联系
订阅
管理
2014年7月26日
hdu 1227 Fast Food
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1227在n个商店中建m个仓库,使各个商店到仓库的路程之和最小,商店到哪个仓库是有选择的,求路程之和最小。dp[i][j]为建i个仓库前j个商店。 1 #include 2 #include 3 #include...
阅读全文
posted @ 2014-07-26 11:17 null1019
阅读(116)
评论(0)
推荐(0)
公告