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: | CSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG FSHARP GO JAVA JS-MONKEY NODEJS PHP PYTHON PYPY PYPY3 PYTHON3 RUBY SQLITE SWIFT VB.NET |