Palindrome changer
CodeChefOpen on judge ↗
King is fond of large numbers. In his free time, he plays a game. He keep on changing random digits in the number and try to convert it to a palindromic number. But if, after every operation, kings checks whether the number has became palindromic or not, then it would cost a lot of his time, as number is very large. So, king asked his head programmer to this check. His head programmer was smart en
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