Total Palindromic Numbers
CodeChefOpen on judge ↗
A number is said to be a palindrome if it remains the same when it is read backwards. Eg. $12021$ is pallindrome while $21$ is not A number is called total-palindromic if it contains a palindrome with odd length greater than $1$ and an even palindrome as a substring. For example, the number $22676$ is total-palindromic whereas the number $101$ is not because it contains the palindrome of odd le
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start