Binary Palindrome
题号:NC216088
时间限制:C/C++/Rust/Pascal 5秒,其他语言10秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld

题目描述

Given a hexadecimal integer.  
Return 1 if x is palindrome in binary form , return 0 otherwise.  

输入描述:

A hexadecimal integer, like 0xFFFFFFFF.   
The length of number is 32 bits.   

输出描述:

Return1 if the number is palindrome in binary form.
Otherwise, return 0 .   
示例1

输入

复制
0xFF0000FF

输出

复制
1
示例2

输入

复制
0xF0F0F0F0

输出

复制
0