会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
wujin
博客园
首页
新随笔
联系
订阅
管理
2016年1月18日
2016.1.18(孪生素数、交换)
摘要: 1 //孪生素数 2 #include 3 #include 4 #include 5 #include 6 int is_prime(int x) 7 { 8 int i,m; 9 assert(x>=0); //当x>=0不成立时程序终止 10 if(x==1) return 0; 11 m=floor(sqrt(x)+0.5); //四...
阅读全文
posted @ 2016-01-18 21:05 hahazai
阅读(135)
评论(0)
推荐(0)
编辑