HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Arithmetic > problem:


50157 - Palindromic Numbers

Section problems

• 50031 - Separate Into Digits
• 50047 - Sum of the numbers from a...
• 50060 - Total Salary Paid
• 50069 - Sum of Odd Numbers
• 50074 - Molecules
• 50091 - Pocket Money
• 50109 - Class Average (3 Grades)
• 50156 - Armstrong Numbers - 2
• 50157 - Palindromic Numbers
• 50166 - Max of 3 numbers
• Простые числа
• Степень
• Strong Prime Power
• Cubes
• 50010 - Weighted Average
• 50011 - Divisible By Five
• 50015 - Kinetic Energy

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