• [1498] 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
  • 提示
  • 来源
  • 大胖
  • 操作

显示春菜