数学 筛质数 埃式筛 //埃式 const int N=10001; int primes[N],cnt=0; bool st[N]; void get_p(int n){ for(int … 算法模板 | 2024-9-25 22:27 数学