码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
欧拉计划(python) problem 14
Longest Collatz sequence Problem 14 The following iterative sequence is defined for the set of positive integers: n → n/2 (n is even) n → 3n + 1 (n is odd) Using the rule above and starting...
分类:编程语言   时间:2015-01-27 13:33:21    阅读次数:173
HDU-1008
水题Description The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which f...
分类:其他好文   时间:2015-01-27 12:59:41    阅读次数:109
poj1050-To the Max
头疼,做道水题。。DescriptionGiven a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greate...
分类:其他好文   时间:2015-01-27 00:12:17    阅读次数:242
杭电acm:最小公倍数(附源码)
Problem Description The least common multiple (LCM) of a set of positive integers is the smallest positive integer which is divisible by all the numbers in the set. For example, the LCM of 5, 7 and...
分类:其他好文   时间:2015-01-26 22:56:41    阅读次数:202
欧拉计划(python) problem 5
Smallest multiple Problem 5 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly di...
分类:编程语言   时间:2015-01-26 22:49:54    阅读次数:289
YT14-HDU-求多组数的最小公倍数
Problem Description The least common multiple (LCM) of a set of positive integers is the smallest positive integer which is divisible by all the numbers in the set. For example, the LCM of 5, 7 and...
分类:其他好文   时间:2015-01-26 17:21:09    阅读次数:137
inf -inf nam
http://www.gnu.org/software/libc/manual/html_node/Infinity-and-NaN.html20.5.2 Infinity and NaN IEEE754 floating point numbers can represent positive ....
分类:其他好文   时间:2015-01-25 20:55:07    阅读次数:240
POJ 3061 Subsequence 尺取法,一个屌屌的O(n)算法
SubsequenceTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 9050Accepted: 3604DescriptionA sequence of N positive integers (10 #include #inclu...
分类:编程语言   时间:2015-01-25 19:25:00    阅读次数:174
CDZSC_2015寒假新人(2)——数学 - A
DescriptionThe least common multiple (LCM) of a set of positive integers is the smallest positive integer which is divisible by all the numbers in the...
分类:其他好文   时间:2015-01-24 21:20:31    阅读次数:219
CSU 1354 Distinct Subsequences 求不相同子序列的和 dp
题目链接:点击打开链接 Description     Give a positive number, count the sum of the distinct subsequence of it, moreover, any subsequence should not contain leading zeroes except it is zero.    ...
分类:其他好文   时间:2015-01-24 20:08:06    阅读次数:240
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!