码迷,mamicode.com
首页 >  
搜索关键字:humble numbers    ( 7694个结果
python 实现求和、计数、最大最小值、平均值、中位数、标准偏差、百分比。
import sys class Stats: def __init__(self, sequence): # sequence of numbers we will process # convert all items to floats for numeri...
分类:编程语言   时间:2014-07-16 18:06:48    阅读次数:257
【LeetCode】Sum Root to Leaf Numbers
题目Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which r...
分类:其他好文   时间:2014-07-15 23:21:33    阅读次数:218
Codeforces446C DZY Loves Fibonacci Numbers(线段树 or 分块?)
第一次看到段更斐波那契数列的,整个人都不会好了。事后看了题解才明白了一些。首先利用二次剩余的知识,以及一些数列递推式子有下面的至于怎么解出x^2==5(mod 10^9+9),我就不知道了,但是要用的时候可以枚举一下,把这些参数求出来之后就题目就可以转化为维护等比数列。由于前面的常数可以最后乘,所以...
分类:其他好文   时间:2014-07-15 22:52:58    阅读次数:567
[leetcode]Two Sum
Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the...
分类:其他好文   时间:2014-07-15 08:45:17    阅读次数:236
ACdream群赛1112(Alice and Bob)
题意:http://acdream.info/problem?pid=1112Problem DescriptionHere is Alice and Bob again !Alice and Bob are playing a game. There are several numbers.Fir...
分类:其他好文   时间:2014-07-14 23:51:56    阅读次数:425
G - Self Numbers(2.2.1)
G - Self Numbers(2.2.1) Time Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64u Submit Status Description In 1949 the Indian mathematician D.R. Kaprekar discovered...
分类:其他好文   时间:2014-07-14 16:18:29    阅读次数:194
Ugly Numbers(1.5.8)
Time Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64u Submit Status Description Ugly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence  ...
分类:其他好文   时间:2014-07-14 14:03:02    阅读次数:206
Ugly Numbers
为何这样做Wrong Answer...
分类:其他好文   时间:2014-07-14 11:21:03    阅读次数:187
[leetcode]Combination Sum
Combination SumGiven a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thes...
分类:其他好文   时间:2014-07-14 10:43:07    阅读次数:222
[leetcode]Combination SumII
Combination Sum IIGiven a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sum...
分类:其他好文   时间:2014-07-14 10:42:22    阅读次数:192
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!