与‘DP-背包’有关的日志

poj2392

maksyuki 发表于 oj 分类,标签:
0
poj2392

Space Elevator

The cows are going to space! They plan to achieve orbit by building a sort of space elevator: a giant tower of blocks. They have K (1 <= K <= 400) different types of blocks with which to build the tower. Each block of type i ha >>继续阅读

poj2184

maksyuki 发表于 oj 分类,标签:
0
poj2184

Cow Exhibition

"Fat and docile, big and dumb, they look so stupid, they aren't much fun..."

- Cows with Guns by Dana Lyons

The cows want to prove to the public that they are both smart and fun. In order to do this, Bessie has organized an exhib >>继续阅读

poj3181

maksyuki 发表于 oj 分类,标签: ,
0
poj3181

Dollar Dayz

Farmer John goes to Dollar Days at The Cow Store and discovers an unlimited number of tools on sale. During his first visit, the tools are selling variously for $1, $2, and $3. Farmer John has exactly $5 to spend. He can buy 5 tools at >>继续阅读

poj1742

maksyuki 发表于 oj 分类,标签:
0
poj1742

Coins

People in Silverland use coins.They have coins of value A1,A2,A3...An Silverland dollar.One day Tony opened his money-box and found there were some coins.He decided to buy a very nice watch in a nearby shop. He wanted to pay the exact price(w >>继续阅读

hdu2639

maksyuki 发表于 oj 分类,标签:
0
hdu2639

Bone Collector II

Problem Description

The title of this problem is familiar,isn't it?yeah,if you had took part in the "Rookie Cup" competition,you must have seem this title.If you haven't seen it before,it doesn't matter,I will give you a link: >>继续阅读

hdu1011

maksyuki 发表于 oj 分类,标签: ,
0
hdu1011

Starship Troopers

Problem Description

You, the leader of Starship Troopers, are sent to destroy a base of the bugs. The base is built underground. It is >>继续阅读

hdu2844

maksyuki 发表于 oj 分类,标签:
0
hdu2844

Coins

Problem Description

Whuacmers use coins.They have coins of value A1,A2,A3...An Silverland dollar. One day Hibix opened purse and found there were some coins. He decided to buy a very nice >>继续阅读

hdu1171

maksyuki 发表于 oj 分类,标签:
0
hdu1171

Big Event in HDU

Problem Description

Nowadays, we all know that Computer College is the biggest department in HDU. But, maybe you don't know that Computer College had ever been split into >>继续阅读

hdu1203

maksyuki 发表于 oj 分类,标签:
0
hdu1203

I NEED A OFFER!

Problem Description

Speakless很早就想出国,现在他已经考完了所有需要的考试,准备了所有要准备的材料,于是,便需要去申请学校了。要申请国外的任何大学,你都要交纳一定的申请费用,这可是很惊人的。Speakless没有多少钱, >>继续阅读

poj2229

maksyuki 发表于 oj 分类,标签:
0
poj2229

Sumsets

Farmer John commanded his cows to search for different sets of numbers that sum to a given number. The cows use only numbers that are an integer power of 2. Here are the possible sets of numbers that sum to 7:

1) 1+1+1+1+1+1+1 >>继续阅读

hdu1284

maksyuki 发表于 oj 分类,标签:
0
hdu1284

钱币兑换问题

Problem Description

在一个国家仅有1分,2分,3分硬币,将钱N兑换成硬币有很多种兑法。请你编程序计算出共有多少种兑法。

Input >>继续阅读

hdu2159

maksyuki 发表于 oj 分类,标签:
0
hdu2159

FATE

Problem Description

最近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在不停的杀怪做任务。久而久之xhd开始对杀怪产生的厌恶感,但又不得不通过杀怪来升完这最后一级。现在的问题是, >>继续阅读

poj2063

maksyuki 发表于 oj 分类,标签:
0
poj2063

Investment

John never knew he had a grand-uncle, until he received the notary's letter. He learned that his late grand-uncle had gathered a lot of money, somewhere in South-America, and that John was the only inheritor.

John did not need that muc >>继续阅读

poj1014

maksyuki 发表于 oj 分类,标签:
0
poj1014

Dividing

Marsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share of the marbles. This would be easy if all the marbles had the same value, because then they could just spli >>继续阅读

poj2576

maksyuki 发表于 oj 分类,标签:
0
poj2576

Tug of War

A tug of war is to be arranged at the local office picnic. For the tug of war, the picnickers must be divided into two teams. Each person must be on one team or the other; the number of people on the two teams must not differ by more tha >>继续阅读

hdu2955

maksyuki 发表于 oj 分类,标签:
0
hdu2955

Robberies

Problem Description

The aspiring Roy the Robber has seen a lot of >>继续阅读