欧拉筛分解质因子板子
摘要:
int p[N], pe[N], primes[N], cnt; void init() { for (int i = 2; i < N; i++ ) { if(!p[i]) p[i] = i, pe[i] = i, primes[++ cnt] = i; for (int j = 1; j <= 阅读全文
posted @ 2023-02-18 10:24 zesure 阅读(11) 评论(0) 推荐(0) 编辑