Given several natural numbers, tell which are prime and which are not.
Input consists of (possibly, many) natural numbers .
For each , tell if it is prime or not.
Use the Sieve of Eratosthenes.
Author: Unknown
Translator: Carlos Molina
Generation: 2026-01-25T12:18:04.007Z
© Jutge.org, 2006–2026.
https://jutge.org