【Leetcode】204. Count Primes

python class Solution: def countPrimes(self, n: int) -> int: # scanning method 1 if n <=1 :return 0 nums = [1 for i in range(n)] nums[1],nums[0] = 0,0 impor
相關文章
相關標籤/搜索