摘要: 1.(nlogn): bool not_prime[2333]=false; //把非质数都设为false,如果not_prime为false,则是质数,为true,则不是质数 not_prime[1]=true; for(int a=2;a<=n;a++) for(int b=a+a;b<=n;b 阅读全文
posted @ 2020-03-29 15:20 Allen_lml 阅读(144) 评论(0) 推荐(1) 编辑