P39 - 区间内素数列表
List of prime numbers in range
官方模块:
Problems.P39核心函数:primesR
← P38 高 totient 数 | P40 无限素数列表 →
← P38 高 totient 数 | P40 无限素数列表 →
题目描述
生成指定区间 [a, b] 内的所有素数。
函数签名
思路
实现
测试
1-- >>>
List of prime numbers in range
官方模块:
Problems.P39核心函数:primesR
← P38 高 totient 数 | P40 无限素数列表 →
← P38 高 totient 数 | P40 无限素数列表 →
生成指定区间 [a, b] 内的所有素数。
1-- >>>