文件名称:findsushu
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.47kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用筛选法可得到2~10000之间的所有素数,找出此序列中最长的等差序列(连续的和不连续的两种)。例如:3,5,7 为一连续等差序列,长度为3,公差为2;而7,13,19 为一不连续等差序列,长度为3,公差为6。-2 with the screening method available for all prime numbers between 10000 to find out the sequence of the longest arithmetic sequence (continuous and discontinuous two). For example: 3,5,7 for a continuous arithmetic sequence of length 3 with a tolerance of 2 and 7,13,19 for a discrete arithmetic sequence of length 3, tolerance is 6.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
findsushu.cpp
readme.txt
readme.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.