Solutions are presented as using the least memory and the fastest execution time. It also takes the top
10 most recent solutions from each language. If you want to limit to a specific index, click the
"Solved" button and go to that problem.
Problems
You are given two integers a and b (a ≤ b). How many prime numbers are there on the interval from a to b, inclusive? The input contains two integers a and b (2 ≤ a ≤ b ≤ 1 000 000), separated by a single space. Output a single integer -- the number of primes between a and b, inclusive. |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|
17302762 |
peter50216 |
F |
April 13, 2016, 1:48 p.m. |
OK |
J |
TESTS |
28 |
31 |
0 |
|
2200 |
|
17276235 |
maxplus |
F |
April 11, 2016, 10:44 a.m. |
OK |
J |
TESTS |
28 |
31 |
0 |
|
2200 |
|
17269441 |
andgein |
F |
April 10, 2016, 6:15 p.m. |
OK |
J |
TESTS |
28 |
31 |
0 |
|
2200 |
|
17274651 |
Voudy |
F |
April 11, 2016, 7:37 a.m. |
OK |
J |
TESTS |
28 |
31 |
102400 |
|
2200 |
|
17269521 |
I_love_Hoang_Yen |
F |
April 10, 2016, 6:18 p.m. |
OK |
J |
TESTS |
28 |
31 |
102400 |
|
2200 |
|
17328191 |
TeddyMichael |
F |
April 15, 2016, 2:28 p.m. |
OK |
J |
TESTS |
28 |
31 |
204800 |
|
2200 |
|
17320467 |
Wael.Al.Jamal |
F |
April 14, 2016, 9:32 p.m. |
OK |
J |
TESTS |
28 |
31 |
204800 |
|
2200 |
|
17274638 |
sunilsamal |
F |
April 11, 2016, 7:36 a.m. |
OK |
J |
TESTS |
28 |
31 |
204800 |
|
2200 |
|
17269933 |
SeTSeR |
F |
April 10, 2016, 6:40 p.m. |
OK |
J |
TESTS |
28 |
31 |
204800 |
|
2200 |
|
17269844 |
Riatre |
F |
April 10, 2016, 6:35 p.m. |
OK |
J |
TESTS |
28 |
31 |
204800 |
|
2200 |
remove filters
Back to search problems