素数筛选
文章平均质量分 73
emo的鱼香roise
莫道桑榆晚,为霞尚满天
展开
-
zcmu-1144: Easy Number Challenge(埃氏筛)
Let's denote d(n) as the number of divisors of a positive integer n. You are given three integers a, b and c. Your task is to calculate the following sum: Sum=0; For(int i=1;i原创 2022-07-16 14:08:25 · 161 阅读 · 0 评论 -
zcmu-1022: Primes on Interval(素筛+二分+区间和)
算法原创 2022-07-16 11:27:45 · 124 阅读 · 0 评论