摘要:
题目传送门:http://www.nocow.cn/index.php/Translate:USACO/shopping 这道题我用dp做,把每一种优惠方案当作都有5件物品,没有的物品记为0,但写的很乱,所以直接看dp那里就好了 1 /* 2 ID:abc31261 3 LANG:C++ 4 TAS 阅读全文
posted @ 2016-01-27 15:24
Sun_Sea
阅读(121)
评论(0)
推荐(0)
摘要:
题目传送门:http://www.nocow.cn/index.php/Translate:USACO/fence 这道题直接模拟就好了 /* ID:abc31261 LANG:C++ TASK:fence */ #include<cstdio> #include<cstring> #include 阅读全文
posted @ 2016-01-27 15:20
Sun_Sea
阅读(118)
评论(0)
推荐(0)

浙公网安备 33010602011771号