![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
背包
绝尘花遗落
一骑红尘妃子笑,无人知是荔枝来
展开
-
Robberies(简单的01背包 HDU2955)
Robberies Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 16565 Accepted Submission(s): 6087Problem Description The aspiring Roy the Robbe原创 2015-08-27 08:52:23 · 303 阅读 · 0 评论 -
Watch The Movie
Watch The Movie Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others) Total Submission(s): 6661 Accepted Submission(s): 2121Problem Description New semester is comin原创 2015-08-18 10:35:08 · 479 阅读 · 0 评论 -
Accepted Necklace
Accepted Necklace Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3136 Accepted Submission(s): 1213Problem Description I have N precious s原创 2015-08-18 09:29:37 · 491 阅读 · 0 评论 -
Bone Collector II
Bone Collector II Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3042 Accepted Submission(s): 1578Problem Description The title of this p原创 2015-08-18 09:04:57 · 520 阅读 · 0 评论 -
Coins
Coins Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 9978 Accepted Submission(s): 3969Problem Description Whuacmers use coins.They have c原创 2015-08-17 18:34:23 · 835 阅读 · 0 评论 -
The trouble of Xiaoqian
The trouble of Xiaoqian Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1472 Accepted Submission(s): 502Problem Description In the country原创 2015-08-17 15:30:44 · 811 阅读 · 0 评论 -
Ahui Writes Word
Ahui Writes Word Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2356 Accepted Submission(s): 863Problem Description We all know that Engl原创 2015-08-17 14:29:48 · 503 阅读 · 0 评论 -
Piggy-Bank
Piggy-Bank Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 16176 Accepted Submission(s): 8156Problem Description Before ACM can do anythin原创 2015-08-17 13:30:01 · 1412 阅读 · 0 评论 -
【Ural1073】 Square Country——完全背包
Time limit: 1.0 second Memory limit: 64 MBThere live square people in a square country. Everything in this country is square also. Thus, the Square Parliament has passed a law about a land. According原创 2016-03-22 17:37:50 · 572 阅读 · 0 评论 -
Bag Problem
Bag Problem Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/131072 K (Java/Others) Total Submission(s): 1449 Accepted Submission(s): 405Problem Description 0/1 bag problem should s原创 2015-08-18 19:19:29 · 428 阅读 · 0 评论 -
Proud Merchants
Proud Merchants Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others) Total Submission(s): 3557 Accepted Submission(s): 1479Problem Description Recently, iSea went原创 2015-08-18 19:57:53 · 467 阅读 · 0 评论 -
I love sneakers!(分组背包HDU3033)
I love sneakers!Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4602 Accepted Submission(s): 1893Problem DescriptionAfter months原创 2015-08-24 19:43:08 · 479 阅读 · 0 评论 -
Exact Change(背包HDU2753)
Exact Change Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 545 Accepted Submission(s): 172Problem Description * Seller: That will be fou原创 2015-08-24 17:11:57 · 819 阅读 · 0 评论 -
Gift Hunting(分组背包)
Gift Hunting Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1418 Accepted Submission(s): 471Problem Description After winning two coupons原创 2015-08-21 21:37:53 · 430 阅读 · 0 评论 -
CRB and His Birthday(背包)
CRB and His Birthday Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 357 Accepted Submission(s): 191Problem Description Today is CRB’s bir原创 2015-08-21 16:15:15 · 323 阅读 · 0 评论 -
Inviting Friends(二分+背包)
Inviting Friends Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 241 Accepted Submission(s): 97Problem Description You want to hold a birt原创 2015-08-20 20:24:05 · 560 阅读 · 0 评论 -
In Action(SPFA+01背包)
In Action Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4720 Accepted Submission(s): 1553Problem DescriptionSince 1945, when the first nu原创 2015-08-20 10:34:13 · 321 阅读 · 0 评论 -
Pearls
Pearls Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 7980 Accepted: 3966Description In Pearlania everybody is fond of pearls. One company, called The Royal Pearl, produces a lo原创 2015-08-19 08:34:00 · 708 阅读 · 0 评论 -
AreYouBusy
AreYouBusy Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3434 Accepted Submission(s): 1334Problem Description Happy New Term! As having原创 2015-08-18 20:54:30 · 689 阅读 · 0 评论 -
【UVA11137】Ingenuous Cubrency——完全背包
题意:给你一个数n,将n分解成若干个正整数的立方之和,问有多少种方式。 分析:将一个数ii的立方数作为一个物品,体积为i3i^3,每一个物品的个数没有限制,转化为完全背包的形式。#include <cstdio>#include <cstring>#include <cstdlib>#include <cmath>#include <iostream>#include <alg原创 2016-03-27 17:16:52 · 454 阅读 · 0 评论