会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ekinzhang
| |
新随笔
|
新文章
| |
订阅
|
管理
2015年3月22日
nyoj-素数环
摘要: 直接枚举n!个效率不高,回溯法更优#include #include #include using namespace std;const int Max = 10000;bool isp[Max];int vis[Max];int a[Max]= {1};int n;void is_prime(i...
阅读全文
posted @ 2015-03-22 08:21 ekinzhang
阅读(237)
评论(0)
推荐(0)
编辑