Problem A
Frumtölutalning
Languages
en
is

Counting all the primes between
Given two integers,
Input
The input consists of two integers,
Output
The output should contain the number of primes in the range
Scoring
Group |
Points |
Constraints |
1 |
19 |
|
2 |
23 |
|
3 |
14 |
|
4 |
13 |
|
5 |
16 |
|
6 |
15 |
|
Sample Input 1 | Sample Output 1 |
---|---|
1 100 |
25 |
Sample Input 2 | Sample Output 2 |
---|---|
3 5 |
2 |
Sample Input 3 | Sample Output 3 |
---|---|
42 1337 |
204 |