摘要: 0x31 质数 定义 不会就getout 判定 试除法 筛法(求 \(1\) 到 \(n\) 内的素数) Eratosthenes 筛法 代码 prt[1]=1; for(int i=2;i<=n;i++){ if(prt[i])continue; for(int j=i;j*i<=n;j++) p 阅读全文
posted @ 2025-02-07 10:32 kilees 阅读(113) 评论(0) 推荐(0)