海岛Blog

海是无垠的,岛在海中是独立的,有一片自己的天空

UVA367 UVALive5251 Let Me Count The Ways【0/1背包】

After making a purchase at a large department store, Mel’s change was 17 cents. He received 1 dime, 1 nickel, and 2 pennies. Later that day, he was s...

2019-02-15 08:50:40

阅读数 68

评论数 0

HDU1248 寒冰王座【0/1背包+DP】

寒冰王座 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 20946    Accepted Submission(s): 10907...

2018-08-17 19:41:30

阅读数 226

评论数 1

HDU2602 Bone Collector【0/1背包+DP】

  Bone Collector   Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 72742    Accepted Subm...

2018-02-10 22:34:56

阅读数 153

评论数 0

UVA674 Coin Change【0/1背包+DP】

Suppose there are 5 types of coins: 50-cent, 25-cent, 10-cent, 5-cent, and 1-cent. We want to makechanges with these coins for a given amount of mone...

2018-02-06 08:04:43

阅读数 209

评论数 0

UVA147 Dollars【0/1背包+DP】

New Zealand currency consists of $100, $50, $20, $10, and $5 notes and $2, $1, 50c, 20c, 10c and 5ccoins. Write a program that will determine, for an...

2018-02-06 07:13:44

阅读数 191

评论数 0

UVALive5583 UVA562 Dividing coins【0/1背包+DP】

It’s commonly known that the Dutch have invented copper-wire. Two Dutch men were fighting overa nickel, which was made of copper. They were both so e...

2016-08-13 11:32:42

阅读数 526

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭