时间限制:1 Sec 内存限制:64 MiB
提交
判断n是否为素数。
T组数据,每组数据一个测试数n。$(1 \leq T \leq 10,1 \leq n \leq 10^{18})$
T组数据,每组数据一个测试数n。
$(1 \leq T \leq 10,1 \leq n \leq 10^{18})$
如果是素数则输出“This is a prime"(不包括双引号,记得换行)否则输出“This is not a prime"
如果是素数则输出“This is a prime"(不包括双引号,记得换行)
否则输出“This is not a prime"
5 2 18 33 79 108
This is a prime This is not a prime This is not a prime This is a prime This is not a prime
AresDLEX