#670. 素数个数
素数个数
题目描述
编程求 ( 为大于 的正整数)中有多少个素数。
输入
输入 。
输出
素数个数。
样例
10
4
编程求 2~n (n 为大于 2 的正整数)中有多少个素数。
输入 n (2≤n≤50000)。
素数个数。
10
4
By signing up a XAZXOJ universal account, you can submit code and join discussions in all online judging services provided by us.