A. 优秀数字

    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.

说明

小 H 是一个喜欢数数的人。我们称一个数是优秀的数字,当且仅当其约数个数为偶数,现在小 H 想知道,1n1 \sim n 中有多少个优秀的数字。

输入格式

一行,一个数nn(1n10000001≤n≤1000000)。

输出格式

一行,一个数,表示答案。

样例

3
2

scp-j模拟赛2025.4

Not Attended
Status
Done
Rule
OI
Problem
3
Start at
2025-8-27 17:00
End at
2025-9-5 1:00
Duration
2 hour(s)
Host
Partic.
2