HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Arithmetic > problem:


50572 - Palindromic Numbers

Guest
• Discussion of problem (1)

Section problems

• 50400 - nth Row rth Element of a Table
• 50292 - Average of 4 Marks
• 50462 - Class Average (3 Grades)
• 50439 - Telephone Calls
• 50436 - Pocket Money
• 50288 - Even numbers in even posit...
• 50299 - Median
• 50571 - Armstrong Numbers - 2
• 50572 - Palindromic Numbers
• 50582 - Number of digits
• 50583 - Max of 3 numbers
• 50585 - Inner Product
• 50587 - Modular Conversion
• 50633 - The prime factors
• 50650 - Prime numbers
• 50661 - nth Power of a Digit
• 50249 - Ladders

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