注册
登录
帮助
首页
题库
运行状态
比赛
用户
题解系统
QQ群: 181873520
[G] Just A Prime Number
时间限制: 1000 ms 内存限制: 65535 K
问题描述
Give you a number N. You should tell me it is not a prime number.
输入
This problem has several cases.
For each case just contain one integer N (1 <= N <= 1000).
When the N is a non-postive number end of the input.
输出
If the number is a prime number print "Yes", otherwise print "No"
样例输入
5 4
样例输出
Yes No
提示
无
来源
大胖
操作
题目 Problems
A - Higher
[18 / 92 (19.57%)]
B - Divide bad apples
[3 / 4 (75.00%)]
C - blow or not
[1 / 1 (100.00%)]
D - Single Calculate System
[2 / 8 (25.00%)]
E - Many Candies
[19 / 46 (41.30%)]
F - Take More Sugars
[12 / 48 (25.00%)]
G - Just A Prime Number
[17 / 33 (51.52%)]
H - The sum of square number
[2 / 3 (66.67%)]
I - Together
[2 / 18 (11.11%)]
状态 Status
统计 Statistics
排名 Rank
报名参赛 SIGN UP
显示春菜