HDU
JW12138
既然出生在这个世上,我就没想着活着回去!!!
展开
-
ACboy needs your help(HDU-1712)
Problem Description ACboy has N courses this term, and he plans to spend at most M days on study.Of course,the profit he will gain from different course depending on the days he spend on it.How to ar原创 2017-05-23 10:05:40 · 294 阅读 · 0 评论 -
CRB and His Birthday(HDU-5410)
Problem Description Today is CRB's birthday. His mom decided to buy many presents for her lovely son. She went to the nearest shop with M Won(currency unit). At the shop, there are N kinds of p原创 2017-05-22 21:40:05 · 226 阅读 · 0 评论 -
Bone Collector II(HDU-2639)
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 mat原创 2017-05-22 18:32:16 · 214 阅读 · 0 评论 -
Bone Collector(HDU-2602)
Problem Description Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s , also he went to the grave原创 2017-05-22 18:04:48 · 249 阅读 · 0 评论 -
Robberies(HDU-2955)
Problem Description The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because they become too greedy. He has decided to原创 2017-05-22 17:54:25 · 185 阅读 · 0 评论 -
Investment(POJ-2063 && HDU-1963)
Description 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 wa原创 2017-05-22 17:06:43 · 209 阅读 · 0 评论 -
Piggy-Bank(POJ-1384 && HDU-1114)
Description Before ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this action comes from Irreversibly Bound Money (IBM). The idea beh原创 2017-05-22 16:51:00 · 192 阅读 · 0 评论 -
搬寝室(HDU-1421)
Problem Description 搬寝室是很累的,xhd深有体会.时间追述2006年7月9号,那天xhd迫于无奈要从27号楼搬到3号楼,因为10号要封楼了.看着寝室里的n件物品,xhd开始发呆,因为n是一个小于2000的整数,实在是太多了,于是xhd决定随便搬2*k件过去就行了.但还是会很累,因为2*k也不小是一个不大于n的整数.幸运的是xhd根据多年的搬东西的经验发现每搬一次的疲劳度是和原创 2017-05-21 17:19:44 · 271 阅读 · 0 评论 -
Coins (HDU-2844)
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 watch in a原创 2017-05-31 11:00:50 · 370 阅读 · 0 评论 -
Arbitrage(POJ-2240 && HDU-1217)
Description Arbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one unit of the same currency. For example, suppose that 1 US Dollar bu原创 2017-05-24 10:10:00 · 387 阅读 · 0 评论 -
Choose the best route(HDU-2680)
Problem Description One day , Kiki wants to visit one of her friends. As she is liable to carsickness , she wants to arrive at her friend’s home as soon as possible . Now give you a map of the city’s原创 2017-05-23 21:40:42 · 207 阅读 · 0 评论 -
FATE(HDU-2159)
Problem Description 最近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在不停的杀怪做任务。久而久之xhd开始对杀怪产生的厌恶感,但又不得不通过杀怪来升完这最后一级。现在的问题是,xhd升掉最后一级还需n的经验值,xhd还留有m的忍耐度,每杀一个怪xhd会得到相应的经验,并减掉相应的忍耐度。当忍耐度降到0或者0以下时,xhd就不会玩这游戏。xhd还说了他最多只杀s原创 2017-05-22 21:50:12 · 240 阅读 · 0 评论