Files
Learn-Algorithms/9 Algorithms Job Interview/4.5 数值-素树.md
T
2021-09-20 13:28:54 +08:00

186 B

数值-素树

如果一个数如果只能被 1 和它本身整除,那么这个数就是素数

返回区间 [2, n) 中有几个素数

int countPrimes(int n)