CT351

The Shimmering Mirror Number

EasyL2 · Byte BanditAcceptance: 0.0%XP: 10

Before the gates of the caldera rim of Firewatch close for winter, Harish must finish the seals ledger - one figure at a time. Task: Print YES if the decimal representation of n is a palindrome, otherwise NO. Input format: One line with a single integer n. Output format: Print YES or NO. Constraints: 0 <= n <= 1000000.

Example 1:

Input: 407335
Output: NO

Example 2:

Input: 98053
Output: NO

Example 3:

Input: 876720
Output: NO

Constraints:

0 <= n <= 1000000.

Loading...
Test Cases:No test cases
No test cases available.
The Shimmering Mirror Number - EASY Coding Problem | CodeTikki