摘要: 010.以下的质数的和是2 + 3 + 5 + 7 = 17.找出两百万以下所有质数的和。————————————————————————————————————————————代码如下: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <math.h> 4 #include <time.h> 5 #define N 2000000 6 7 int main(void) 8 { 9 10 int i,j,t=1;11 double sum=5.0;12 13 clock_t begin, 阅读全文
posted @ 2013-04-11 21:48 要我安静从容 阅读(176) 评论(0) 推荐(0) 编辑