title:
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
What is the 10 001st prime number?
翻译:
通过列出前6个质数,我们可知第6个质数是13。
那么第10001个质数是...
分类:
其他好文 时间:
2014-06-05 12:28:28
阅读次数:
277
题目描述On the planet Zoop, numbers are represented in
base 62, using the digits 0, 1, . . . , 9, A, B, . . . , Z, a, b, . . . , z
where A (base 62) = 10 ...
分类:
其他好文 时间:
2014-06-03 12:32:55
阅读次数:
267
Given a roman numeral, convert it to an
integer.Input is guaranteed to be within the range from 1 to
3999.找到规则即可罗马数字的表示:I~1 V~5 X~10 L~50 C~100 D~500 ...
分类:
其他好文 时间:
2014-06-03 12:09:16
阅读次数:
210
List Comprehension1.列表推导 [i for i in range(10) if
i%2 == 0] -> [0, 2, 4, 6, 8], i也可以是一个函数,该风格比C语言思想的代码风格效率高2.enumerate
取到了序列中的序列号好内容forindex,iteminenu...
分类:
编程语言 时间:
2014-06-03 09:08:01
阅读次数:
254
/*Linq JS*/ //range var aa = Enumerable.range(1,
10).toArray(); var kk = Enumerable.range(1, 10, 3).toArray(); //select kk =
Enumerabl...
分类:
Web程序 时间:
2014-06-03 08:13:47
阅读次数:
255
Terrible SetsTime Limit:1000MSMemory
Limit:30000KTotal Submissions:3017Accepted:1561DescriptionLet N be the set of
all natural numbers {0 , 1 , 2 , . ...
分类:
其他好文 时间:
2014-05-31 22:01:28
阅读次数:
325
Given an integer, convert it to a roman
numeral.Input is guaranteed to be within the range from 1 to 3999.相对应的一道题:Roman
to Interger :http://www.cnblog...
分类:
其他好文 时间:
2014-05-31 02:37:44
阅读次数:
221
题目:A Pythagorean triplet is a set of three
natural numbers, a b c, for which,a2 + b2 = c2For example, 32 + 42 = 9 + 16 = 25
= 52.There exists exactl.....
分类:
其他好文 时间:
2014-05-31 01:23:03
阅读次数:
254
find k missing numbers from 1 to n. (k>=1)
分类:
其他好文 时间:
2014-05-30 21:41:26
阅读次数:
593
Given a triangle, find the minimum path sum
from top to bottom. Each step you may move to adjacent numbers on the row
below.For example, given the fol...
分类:
其他好文 时间:
2014-05-30 14:59:37
阅读次数:
241