摘要:
#include #include #include #include #include bool isprime(int n){ if(n<=1){ return false; } for(int i=2;i<=sqrt(n);i++){ if(n%i==0){ return false; } } retu... 阅读全文
posted @ 2018-08-01 21:48
sunnybowen
阅读(137)
评论(0)
推荐(0)
摘要:
#include #include #include #include int main(int argc,char const *argv[]){ char s[]={'W','T','L'}; double ans=1.0,tmp,a; int i,j,idx; for(i=0;itmp){ tmp=a; ... 阅读全文
posted @ 2018-08-01 17:23
sunnybowen
阅读(206)
评论(0)
推荐(0)
摘要:
#include #include #include #include int main(int argc,char const *argv[]){ int a[][3]={{0},{1},{2}}; for(int i=0;i<3;i++){ for(int j=0;j<3;j++){ printf ("%d ",a[i][j]); } ... 阅读全文
posted @ 2018-08-01 16:24
sunnybowen
阅读(278)
评论(0)
推荐(0)

浙公网安备 33010602011771号