Children
CodeChefOpen on judge ↗
Little John Von Neumann has just been introduced to the world of numbers by his father. He has been fiddling around with them for some time now and already makes much more sense of them than a seasoned professional. (Note: He's just 6 years old) In particular, he is fascinated by the fact that how just 9 digits can form countless numbers. In his terminology, a number m is child of a parent number
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