搜索资源列表
计算1000以内的素数
- 这是一个可以计算1000以内的素数算法 觉得还不错-This a 1000 can be calculated within the prime number algorithm also feel good
prime4
- 使用pthread多线程库实现筛法生成素数算法,生成1-n内素数后,可以分段生成n+1-n^2内的素数。-Pthread multithreading library sieve method to generate primes algorithm to generate 1-n primes segment to generate n+1-n ^ the primes 2 within.
sushudayin
- 用概率算法打印10~1000内素数,并与确定性算法比较出错概率-The probabilistic algorithms Print 10 to 1000 within a prime number, and error probability compared with the deterministic algorithm