2013年4月9日
摘要: 1 #include <string.h> 2 #include <stdio.h> 3 #include <math.h> 4 #include <iostream> 5 using namespace std; 6 const int maxn=100005; 7 bool prime[maxn]; 8 int k=0; 9 int p[maxn];10 void isprime()11 {12 13 memset(prime,1,sizeof(prime));14 prime[0]=prime[1]=0;15 int sq=sqrt((do 阅读全文
posted @ 2013-04-09 15:04 行者1992 阅读(255) 评论(1) 推荐(0) 编辑