Problem2509--【入门】素数的个数

2509: 【入门】素数的个数

[Creator : dinan]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

编程求正整数M与N之间的所有素数的个数.(M<=N)

Input

输入只有一行,包括2个整数M,N,之间用一个空格分开。

Output

输出只有一行(这意味着末尾有一个回车符号),包括1个整数。

Sample Input Copy

1 20

Sample Output Copy

8

Source/Category

Please give us a Star @HUSTOJ Github!

欢迎关注微信公众号onlinejudge