#B2128. 素数个数
素数个数
说明
编程求2~n(n为大于2的正整数)中有多少个素数。
输入格式
输入n(2≤n≤50000)。
输出格式
素数个数。
样例
10
4
编程求2~n(n为大于2的正整数)中有多少个素数。
输入n(2≤n≤50000)。
素数个数。
10
4
By signing up a 趣信奥 universal account, you can submit code and join discussions in all online judging services provided by us.