Problems
Status
Typing
Examing
Growing
游客
Signup
|
Login
中文
|
En
1383 - 素数判定
通过次数
0
提交次数
0
旧版界面
Time Limit : 1 秒
Memory Limit : 32 MB
给定一个数n,要求判断其是否为素数(0,1,负数都是非素数)。
Input
测试数据有多组,每组输入一个数n。
Output
对于每组输入,若是素数则输出yes,否则输入no。
Examples
Input Format
13
Output Format
yes
All
C
C++
Java
Python
Pascal
上一题
下一题
Code
Discuss
Stats
×