Type: Default 1000ms 256MiB

判断素数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

给定一个正整数,判定是不是素数. 如果是,输出‘Yes’ ;如果不是,输出‘No’。(输出内容是单引号内的内容)

Input Format

一个整数,保证此数是长整范围内。

Output Format

‘Yes’ 或者 ‘No’

Sample

input

2

output

Yes

Hint

时间限制:1s1 \text {s}

空间限制:256MB256 \text {MB}

20200910-基础递归训练

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
10
Start at
2020-9-13 15:29
End at
2020-10-1 15:29
Duration
432 hour(s)
Host
Partic.
18