0101少儿编程
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
IDE下载
Login
Register
5106: 【44课】【3268】 内码对称
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:75
Solved:60
Submit
Submit Record
Statistics
ShowOff!
Description
C++ 中 int 型整数内码是一个 32 位的
0、1
序列,该
0、1
序列有些是对称的,有些是不对称的。对于给定的一个整数,在一些场合,需要判断其整数内码的对称性。
Input
输入中含有一个整数
n
。
Output
如果
n
内码对称,输出"YES",否则输出"NO"。
Sample Input
Copy
2147483646
Sample Output
Copy
YES
Source/Category
一本通编程启蒙
函数
Submit
Submit Record
Statistics
ShowOff!