摘要:
#include #include #includeint isPri(int a, int b){ int i; for(i=2; i <= sqrt(a); i++) { if(a%i == 0) return 0; } for(... 阅读全文
摘要:
#include #include //法一int main(){ double temar[10000]; int i=0,tmp; while(1) { scanf("%lf",&temar[i]); if(temar[i] == 999) ... 阅读全文
摘要:
#include #include #includeint main(){ int n,len; char str[10]; scanf("%d",&n); while(n--) { int tmp; scanf("%s",str); ... 阅读全文
摘要:
#include#includeint main(){ int n,i; while(scanf("%d",&n) != EOF && n) { int max=0,maxdown,day,nigt; for(i=0; i max) ... 阅读全文