摘要:
#include #include #includeusing namespace std;//高效判定素数bool prime(int n){ if(n==2) return true; if(n%2==0) return false; int sqrtn=(int)sqrt((double)n)... 阅读全文
posted @ 2015-03-08 22:18
泡面小王子
阅读(143)
评论(0)
推荐(0)
摘要:
#include using namespace std;int main(int argc, char *argv[]){ int a,b,count,k1,k2,k3; while(cin>>a>>b) { for(count=0;a<=b;a++) { k1=a/100; k2=(a-k1*1... 阅读全文
posted @ 2015-03-08 21:52
泡面小王子
阅读(132)
评论(0)
推荐(0)

浙公网安备 33010602011771号