Feedback | | If you notice incorrect translations in Contester, please let author know.
|
|
Time limit 800/800/800/800 ms. Memory limit 65000/65000/65000/65000 Kb.
Problem description
Given two natural numbers M and N. Find all prime numbers between them.
Input
There are two integers M and N on the first line (0 < M, N ≤ 1000000).
Output
Write all prime numbers between M and N in increasing order.
Example
Для отправки решений необходимо выполнить вход.
|