会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
yuen_blog
博客园
首页
新随笔
联系
订阅
管理
2024年2月3日
线性筛求素数
摘要: #include<bits/stdc++.h> using namespace std; const int N = 5e7+50; int n, tot, prime[N]; //prime存储所有素数 bool flag[N]; //判断是否为素数 int main(){ scanf("%d",
阅读全文
posted @ 2024-02-03 08:40 _yuen
阅读(3)
评论(0)
推荐(1)
编辑