![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
动态规划——背包计数&退背包
# 动态规划——背包计数&退背包
pxlsdz
冲就完了!
展开
-
The Preliminary Contest for ICPC Asia Shanghai 2019 J. Stone game —— 退背包
CSL loves stone games. He hasnnstones; each has a weighta_iai. CSL wants to get some stones. The rule is that the pile he gets should have a higher or equal total weight than the rest; however ...原创 2019-09-18 15:40:53 · 269 阅读 · 0 评论 -
Codeforces 284E Coin Troubles 思维+完全背包计数
E. Coin Troublestime limit per test 2 secondsmemory limit per test 256 megabytesinput standard inputoutput standard outputIn the Isle of Guernsey there arendifferent types of coins. For eachi...原创 2019-10-09 22:23:15 · 286 阅读 · 0 评论