204. Count Primes (Integer)
摘要:
Count the number of prime numbers less than a non-negative number, n.思路:寻找质数的方法class Solution {public: int countPrimes(int n) { int num = 0;... 阅读全文
posted @ 2015-12-25 06:50 joannae 阅读(169) 评论(0) 推荐(0) 编辑