Cold Numbers
CodeChefOpen on judge ↗
Jon is not so good at Mathematics. He is given an integer $N$. He is also introduced to special numbers called *"Cold"* numbers. *"Cold"* numbers satisfy the conditions below: - They are integers whose decimal representation has an even number of digits (without leading zeros). *For example: 12 has 2 digits*. - After slicing the number from middle, its first and second halves should be equal s
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