Toggle navigation
编绘童年
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem1472--函数-反质数1
1472: 函数-反质数1
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
212
Solved:
132
[
Status
] [
Submit
] [Creator:
]
Description
对于任何正整数x,其约数的个数记做g(x).例如g(1)=1,g(6)=4.
如果某个正整数x满足:对于任意i(0<i<x),都有g(i)<g(x),则称x为反质数。
输入一个数x,判断它是否是反质数,如果是,输出“yes”,否则,输出“no”。
Input
输入仅一个数x(1<=x<=10000)。
Output
输出为判断结果。
Sample Input
Copy
4
Sample Output
Copy
yes
Source/Category
提高C