Wrong Number
CodeChefOpen on judge ↗
Ramesh and Suresh are two brothers. They went to Masterji’s shop to have their pant sizes corrected. Masterji asked them for their phone number in order to notify them when to pick up the pants once they are done. While the brothers were busy eating 5-star chocolates, they forgot their phone number. Instead of saying $0$, they repeated a digit within their number. As a result, Masterji is now una
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