#27. 判断 n 是否为质数 [2]
判断 n 是否为质数 [2]
Cannot parse: bad indentation of a mapping entry (1:20) 1 | type: default\ntime: 1000ms\nmemory: 256MB\nsubtask ... ------------------------^
题目描述
给出一个整数 ,请你判断其是否为质数。
输入格式
第一行一个正整数 。
输出格式
如果 是质数,输出 Yes,否则输出 No;
1
No
11
Yes
111
No
数据规模与约定
对于 的数据,。