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

2025-10-25-周训练

Not Attended
Status
Done
Rule
XCPC
Problem
9
Start at
2025-10-25 14:30
End at
2025-10-25 17:30
Duration
3 hour(s)
Host
Partic.
38