![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
背包问题
成长本就是孤单
这个作者很懒,什么都没留下…
展开
-
Codeforces Round #565 (Div. 3) F.Destroy it!
F. Destroy it!time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are playing a computer card game called Splay the Sire. Currently you are s...原创 2019-06-12 19:10:18 · 323 阅读 · 0 评论 -
2050编程赛 冰水挑战 HDU 6495
冰水挑战Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 652 Accepted Submission(s): 236Problem DescriptionPolar Bear Pitching helps you cryst...原创 2019-06-13 10:22:52 · 189 阅读 · 0 评论 -
2018年东北地区赛S - Problem I. Spell Boost HDU - 6508
Spell BoostShadowverse is a funny card game. One day you are playing a round of this game.You have n cards, each with two attributes wi and xi. If you use card i, you will cost wi points of power an...原创 2019-06-14 23:58:15 · 284 阅读 · 0 评论 -
Cow Exhibition POJ - 2184
Cow Exhibition POJ - 2184题目地址:https://vjudge.net/problem/POJ-2184下面的解释是从一个大佬那搬来的,讲的很清楚题意:给定一些奶牛,每个牛有s和f两个属性值,有正有负,要求选出一些牛,使得这些牛的两种属性的和的加和最大,且这些牛的两种属性分别求加和不能为负。分析:dp,开始想到dp[i][s][f],表示前i头牛能否实现属性和分...原创 2019-06-15 21:28:25 · 162 阅读 · 0 评论