lihongzheshuai / lihongzheshuai.github.io

onecoder's blog.
https://onecoder-blog.vercel.app
MIT License
6 stars 2 forks source link

LeetCode Count Primes #297

Open lihongzheshuai opened 6 years ago

lihongzheshuai commented 6 years ago

http://www.coderli.com/leetcode-count-prime/#

Lzwei1991 commented 6 years ago

1、2与3不是质数吗?

lihongzheshuai commented 6 years ago

@Lzwei1991 1不是,2,3都是。题目要求是小于n,不包括n