首页
题库
训练
比赛
作业
讨论
评测记录
排名
新生排名
登录
注册
Language
English
한국어
简体中文
正體中文
#P2273. Count primes
ID: 1273
远端评测题
6000ms
66MiB
尝试: 0
已通过: 0
难度: (无)
上传者:
Hydro
Count primes
Easy question! Calculate how many primes between [1...n]!
Input
Each line contain one integer n(1 <= n <= 1e11).Process to end of file.
Output
For each case, output the number of primes in interval [1...n]
Sample Input
2 3 10
Sample Output
1 2 4
HINT
Source
登录后递交
讨论 (0)
题解 (0)
文件
统计
还没有账户?
注册一个 南阳理工学院OJ 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
现在注册
关闭
登录
使用您的 南阳理工学院OJ 通用账户
用户名
密码
记住我
使用 Google 登录
使用 Github 登录
忘记密码或者用户名?