Type: Default 1000ms 256MiB

素数个数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

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

Input Format

输入n(2≤n≤50000)。

Output Format

素数个数。

10

4

无基础班训练01

Not Attended
Status
Done
Rule
XCPC
Problem
8
Start at
2024-11-17 13:00
End at
2024-11-24 5:00
Duration
160 hour(s)
Host
Partic.
37