Submit | All submissions | Best solutions | Back to list |
EIPNUM - Palindromic Number |
A palindromic number is a number that remains the same when its digits are reversed
Input
An integer N(N<=10^9).
Output
if N is a palindromic number, print "YES", otherwise print"NO".
Example
Input: 131 Output: YES
Input: 1321 Output: NO
Added by: | Ha Minh Ngoc |
Date: | 2017-10-29 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: GOSU |