Primes on Interval
237C1600· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
2 4 2
Output
3
Sample 2of 3
Input
6 13 1
Output
4
Sample 3of 3
Input
1 4 3
Output
-1
58%
237C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
2 4 2
3
6 13 1
4
1 4 3
-1