Sieve of Eratosthenes#4739

Sieve of Eratosthenes

1 saniye
128 megabayt
Çok kolay

Given the values of and , print all primes in the interval from to inclusively.

Giriş

Two integers and b~(1 \le a \le b \le 10^5).

Çıktı

Print in one line all prime numbers in the interval from to inclusively.

Örnekler

Örnek 1

Loading
Loading