码迷,mamicode.com
首页 >  
搜索关键字:coins    ( 511个结果
UVALive3045 POJ2000 ZOJ2345 Gold Coins
Regionals 2004 >> North America - Rocky Mountain 问题链接:UVALive3045 POJ2000 ZOJ2345 Gold Coins。基础练习题,用C语言编写。 题意简述:骑士第1天获得1个金币,之后的2天获得2个金币,之后的3天获得3个金币,......,之后的i天获得i个金币,......。问到第n天总共获得多少个金币。 问题分析:...
分类:其他好文   时间:2016-08-07 09:42:54    阅读次数:127
Coin Change
You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you nee ...
分类:其他好文   时间:2016-08-05 06:37:27    阅读次数:180
POJ1742 Coins
Coins Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 34632 Accepted: 11754 Description People in Silverland use coins.They have coins of v ...
分类:其他好文   时间:2016-08-03 21:57:37    阅读次数:162
HDU2844 Coins 多重背包
Coins Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 12330 Accepted Submission(s): 4922 Problem ...
分类:其他好文   时间:2016-08-02 20:47:07    阅读次数:111
Coins in a Line I & II
Coins in a Line I There are n coins in a line. Two players take turns to take one or two coins from right side until there are no more coins left. The ...
分类:其他好文   时间:2016-07-10 06:26:55    阅读次数:186
UVA 562 Dividing coins (01背包)
//平分硬币问题 //对sum/2进行01背包,sum-2*dp[sum/2] ...
分类:其他好文   时间:2016-07-02 16:01:20    阅读次数:133
322. Coin Change java solutions
You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you nee ...
分类:编程语言   时间:2016-07-01 16:16:27    阅读次数:148
bzoj 3312: [Usaco2013 Nov]No Change
3312: [Usaco2013 Nov]No Change Description Farmer John is at the market to purchase supplies for his farm. He has in his pocket K coins (1 <= K <= 16) ...
分类:其他好文   时间:2016-07-01 11:34:14    阅读次数:215
poj1742
Coins Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 33998 Accepted: 11554 Description People in Silverland use coins.They have coins of v ...
分类:其他好文   时间:2016-06-25 23:04:02    阅读次数:240
Coins in a Line III
There are n coins in a line. Two players take turns to take a coin from one of the ends of the line until there are no more coins left. The player wit ...
分类:其他好文   时间:2016-06-24 12:34:22    阅读次数:149
511条   上一页 1 ... 25 26 27 28 29 ... 52 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!