筛法--朴素筛法和埃式筛法和线性筛法
摘要:
朴素筛法: #include <iostream> #include <algorithm> using namespace std; const int N=1000010; int primes[N],cnt; bool st[N]; void get_primes(int n){ for(in 阅读全文
posted @ 2023-05-31 22:20 不是小朋友L 阅读(113) 评论(0) 推荐(0)
浙公网安备 33010602011771号