A hard problem from Vietnam Olympiad in Informatics for 9-grader

Revision en1, by bvd, 2016-03-18 05:07:28

English version

Find all prime numbers between N and M, with 0 < N < M < 1025.

A further classification said that the time limit is 1 second and M - N < 109.

I'm wondering if there is a solution for this problem.

Tags prime numbers, voi

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English bvd 2016-03-18 05:07:28 366 Initial revision (published)