摘要: 一、构造质数表 (1)试除法 源代码: #include<cstdio> int n,s(1),i[1001]; int main() { scanf("%d",&n); i[1]=2; printf("2 "); for (int a=3;s<n;a++) { bool t(0); for (in 阅读全文
posted @ 2016-02-03 20:31 【機關】 阅读(1596) 评论(0) 推荐(0)