码迷,mamicode.com
首页 >  
搜索关键字:coins    ( 511个结果
Coins in a Line
ref: http://www.lintcode.com/en/problem/coins-in-a-line/ There are n coins in a line. Two players take turns to take one or two coins from right side ...
分类:其他好文   时间:2016-11-05 07:43:06    阅读次数:256
Coins in a Line II
ref: http://www.lintcode.com/en/problem/coins-in-a-line-ii/# 有个博客说的挺好的,比九章自己写的清楚 http://www.cnblogs.com/theskulls/p/4963317.html 意思是这样的: 如果我们在第i个位置,那么 ...
分类:其他好文   时间:2016-11-05 07:41:30    阅读次数:258
[LeetCode] Arranging Coins 排列硬币
You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, find the total number ...
分类:其他好文   时间:2016-11-03 14:12:30    阅读次数:254
LeetCode 441. Arranging Coins
You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, find the total number ...
分类:其他好文   时间:2016-11-03 01:44:57    阅读次数:280
LeetCode 441 Arranging Coins
Problem: You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, find the tot ...
分类:其他好文   时间:2016-11-01 13:38:02    阅读次数:193
arranging-coins
https://leetcode.com/problems/arranging-coins/ ...
分类:其他好文   时间:2016-10-31 14:04:24    阅读次数:220
LeetCode "Arranging Coins"
A simple math.. take care of data overflow though. ...
分类:其他好文   时间:2016-10-31 12:46:43    阅读次数:141
322. 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-10-26 07:15:58    阅读次数:205
UVA - 11137 Ingenuous Cubrency[背包DP]
People in Cubeland use cubic coins. Not only the unit of currency iscalled a cube but also the coins are shaped like cubes and their valuesare cubes. ...
分类:其他好文   时间:2016-10-19 19:19:31    阅读次数:124
poj1742 Coins(多重背包+单调队列优化)
...
分类:其他好文   时间:2016-10-09 00:20:15    阅读次数:115
511条   上一页 1 ... 22 23 24 25 26 ... 52 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!