Given coins of certain denominations and a total, how many minimum coins would you need to make this total? Dynamic Programming solution State: T[i][j ...
分类:
其他好文 时间:
2017-08-18 14:38:11
阅读次数:
201
最近由于好友推荐我入坑了国内的山寨币,所以顺便研究了下聚币网的API。 不过网页版的聚币网和手机版的做的不好,而且因为是7x24 小时交易,自己没有那么多的精力盯盘,所以写了python代码进行监控。 程序运行后,使用扫一扫登录。 coin_list=['zet','doge'] price_lis ...
分类:
微信 时间:
2017-08-16 00:04:09
阅读次数:
448
Given an array A (index starts at 1) consisting of N integers: A1, A2, ..., AN and an integer B. The integer B denotes that from any place (suppose th ...
分类:
其他好文 时间:
2017-08-06 23:13:30
阅读次数:
406
https://vjudge.net/problem/UVA-10328 题意: 有H和T两个字符,现在要排成n位的字符串,求至少有k个字符连续的方案数。 思路:这道题目和ZOJ3747是差不多的,具体做法可以参考另一篇博客http://www.cnblogs.com/zyb993963526/p/ ...
分类:
编程语言 时间:
2017-07-19 20:30:47
阅读次数:
125
import random class Coin: def __init__(self, rare=False, clean=True, **kwargs): for key,value in kwargs.items(): setattr(self,key,value) self.is_rare ... ...
分类:
编程语言 时间:
2017-07-19 00:09:47
阅读次数:
174
题目链接:https://leetcode.com/problems/coin-change/ 322. Coin Change My Submissions Question Total Accepted: 15289 Total Submissions: 62250 Difficulty: Me ...
分类:
其他好文 时间:
2017-07-08 11:17:43
阅读次数:
135
题目链接:http://www.lightoj.com/volume_showproblem.php?problem=1235 题意: 有N个硬币(N<=18)。问是否能在每一个硬币使用不超过两次的情况下支付正好K的面额。 思路 : dfs构造出用这些硬币用前一半能支付的全部费用和后一半能支付的全部 ...
分类:
其他好文 时间:
2017-07-03 10:21:29
阅读次数:
215
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 ...
分类:
其他好文 时间:
2017-06-25 10:07:16
阅读次数:
111
coin hoops bridge 在移动端编译 下载android sdk coin3d qt结合,coin3d有两本书讲原理的,近期可以开始看看学习时间,优于spd很多 一本是open inventor mentor 一本是the inventor toolmaker open inventor ...
分类:
其他好文 时间:
2017-06-15 21:40:51
阅读次数:
154
https://github.com/Premiumlab/Python-for-Algorithms--Data-Structures--and-Interviews/blob/master/Mock%20Interviews/Ride%20Share%20Start-Up%20Company/R ...
分类:
其他好文 时间:
2017-06-08 10:35:05
阅读次数:
268