素数个数
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
求 中素数的个数。
Format
Input
一行一个整数 。
Output
一行一个整数,表示素数的个数。
Samples
10
4
Limitation
警告:请使用线性筛解决问题。
[Rated]2025/07/19 新生课前测
- Status
- Done
- Rule
- Ledo
- Problem
- 5
- Start at
- 2025-7-19 7:42
- End at
- 2025-7-19 9:00
- Duration
- 1.3 hour(s)
- Host
- Partic.
- 22