HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Functions > problem:


135. 50572 - Palindromic Numbers

Guest
• Discussion of problem (1)

Volume problems

• 260. 50493 - n-digit kth Prime Number
• 50307 - Palindromes
• 50305 - John's Tasks
• 002. 50428 - Three Times
• 010. 50582 - Number of digits
• 035. 50467 - Random Numbers
• 062. 50390 - Total Salary Paid
• 100. 50397 - The Number of Points ...
• 135. 50572 - Palindromic Numbers
• 145. 50586 - Prime Palindromes
• 160. 50571 - Armstrong Numbers - 2
• 50315 - Pig Latin
• 50353 - Cube of the Largest number
• 50296 - Total Discount Rate
• 50559 - Prime Factors of a Number
• 040. 50354 - Intersecting Rectangles
• 060. 50727 - Fibonacci Numbers

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Prepared by Ibrahim Mesecan. Difficulty Alpha

Palindromic Numbers

Shqip
Palindromic numbers are read from left to right and right to left the same
e.g. 132 is not a palindromic number because from left to right it's 132, on the other hand it's 231 from right to left. But, 121 is a palindromic number because it's read the same from left to right and right to left.

Input specification
There will a number in the input file which are between 1 ≤ n < 1000000000
Output specification
If it's a palindromic number show "YES", otherwise "NO".
Note:No endline at the end.

Input 1 Input 2
33 72
Output 1 Output 2
YES
NO

Для отправки решений необходимо выполнить вход.

www.contester.ru