动态规划
xuehuhu1
这个作者很懒,什么都没留下…
展开
-
compromise
Problem D : CompromiseFrom:UVA, 531Time Limit: 3000 MS Special JudgeIn a few months the European Currency Union will become a reality. However, to join the club, the Maastricht criter原创 2015-04-11 22:20:44 · 630 阅读 · 0 评论 -
longest match
Longest MatchInput: standard inputOutput: standard outputA newly opened detective agency is struggling with their limited intelligence to find out a secret information passing technique among原创 2015-04-11 23:34:06 · 769 阅读 · 0 评论 -
vacation
vacationoblem E: Vacation The ProblemYou are planning to take some rest and to go out on vacation, but you really don't know which cities you should visit. So, you ask your parents f原创 2015-04-11 21:38:26 · 444 阅读 · 0 评论 -
Let Me Count The Ways
Problem C : Let Me Count The WaysFrom:UVA, 357Submit (Out Of Contest)Time Limit: 3000 MSAfter making a purchase at a large department store, Mel's change was 17 cents. He received 1 di原创 2015-04-21 21:25:55 · 619 阅读 · 0 评论 -
Making Change
Problem D : Making ChangeFrom:UVA, 166Submit (Out Of Contest)Time Limit: 3000 MSGiven an amount of money and unlimited (almost) numbers of coins (we will ignore notes for this problem)原创 2015-04-21 21:33:18 · 966 阅读 · 0 评论 -
e-Coins
Problem E : e-CoinsFrom:UVA, 10306Submit (Out Of Contest)Time Limit: 3000 MSProblem GAt the Department for Bills and Coins, an extension of today's monetary system has newly been原创 2015-04-21 22:44:45 · 669 阅读 · 0 评论 -
Pay the Price
Problem F : Pay the PriceFrom:UVA, 10313Submit (Out Of Contest)Time Limit: 3000 MS In ancient days there was a country whose people had very interesting habits. Some of them were l原创 2015-04-21 23:07:06 · 618 阅读 · 0 评论 -
Exact Change
Exact ChangeProblem C: Exact ChangeSeller: That will be fourteen dollars. Buyer: Here's a twenty. Seller: Sorry, I don't have any change. Buyer: OK, here's a ten and a five. Keep the change.原创 2015-04-21 23:20:01 · 753 阅读 · 0 评论