摘要: void get_primes(int n){ for(int i=2;i<=n;i++){ if(!st[i]) primes[cnt++]=i; for(int j=0;primes[j]<=n/i;j++){ st[primes[j]*i]=true; if(i%primes[j]==0) b 阅读全文
posted @ 2023-11-22 21:57 午夜凶铃 阅读(12) 评论(0) 推荐(0)