2015年5月14日

寻找100到200之间的素数

摘要: #include #include #include using namespace std;int main(){ bool prime; int m,k,i,n=0; for (m=101;m<=200;m=m+2) //偶数必然不是素数,所以不需要检验 { prime = true; ... 阅读全文

posted @ 2015-05-14 18:15 pugongyingyehuifei 阅读(107) 评论(0) 推荐(0) 编辑

导航