一.204. Count Primes Count the number of prime numbers less than a non-negative number, n. Input: 10 Output: 4 Explanation: There are 4 prime numbers less than 10, they are 2, 3, 5, 7. 1.数学原理:两个质数的乘积一定是合数.一个质数乘以任何数的积都一定不是质数.(除了1) 2.代码:需要注意的点:for (int…