摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1importmath23defGetAllPrime(maxNum):4ifmaxNum10000:5return[numfornuminrange(2,maxNum)if0notin[num%iforiinrange(2,int(math.sqrt(num))+1)]]6else:7return[numfornuminxrange(2,maxNum)if0notin[num%iforiinr 阅读全文
积分与排名
- 积分 - 306192
- 排名 - 3211
随笔分类 (89)
随笔档案 (148)
- 2012年12月(1)
- 2012年9月(1)
- 2012年5月(2)
- 2011年12月(1)
- 2011年11月(1)
- 2011年9月(1)
- 2011年7月(1)
- 2011年6月(1)
- 2011年4月(1)
- 2011年3月(9)
- 2011年1月(3)
- 2010年12月(1)
- 2010年11月(4)
- 2010年10月(1)
- 2010年8月(1)
- 2010年7月(6)
- 2010年5月(1)
- 2010年4月(16)
- 2010年3月(4)
- 2010年2月(10)
- 2010年1月(24)
- 2009年12月(5)
- 2009年10月(3)
- 2009年8月(1)
- 2009年6月(1)
- 2009年5月(5)
- 2009年4月(16)
- 2009年3月(7)
- 2009年2月(4)
- 2009年1月(9)
- 2008年11月(2)
- 2008年9月(3)
- 2008年8月(2)
- 更多