Previous Next
0 / 15
Module DEMO-33-67DEMO-OOP-33

Palindrome Number Audit

DEMO-OOP-33 โ€ข Object Oriented Programming

Browser-only practice

Problem Statement

Read one integer and print whether it is a palindrome number.

Input Format

Input is given as whitespace-separated tokens in this order:

  1. tested number

Output Format

Print the exact report in this order:

  1. Palindrome

Sample Testcases

Submit runs every public testcase in this browser. Results and code never leave this device.

Sample #1
Public sample
121
Palindrome: YES
Input: tested number = 121.
Key calculation(s): original = 121 | value = 121 | "Palindrome: " + result = "Palindrome: YES".
Output:
Palindrome: YES
Sample #2
Public sample
1331
Palindrome: YES
Input: tested number = 1331.
Key calculation(s): original = 1331 | value = 1331 | "Palindrome: " + result = "Palindrome: YES".
Output:
Palindrome: YES

Web terminal

C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.

Saved in this browser
Editor settings