[LeetCode] 204. Count Primes 质数的个数

Count the number of prime numbers less than a non-negative number, n. Example 1: Input: n = 10 Output: 4 Explanation: There are 4 prime numbers less t
posted @ 2015-04-28 13:40  Grandyang  阅读(28053)  评论(3)    收藏  举报
Fork me on GitHub