#P1150. 素数个数

素数个数

Description

编程求2~n(n为大于2的正整数)中有多少个素数。

Input Format

输入n(2≤n≤50000)。

Output Format

素数个数。
10
4

Source

第六章_函数_第一节_函数