Unique Code
CodeChefOpen on judge ↗
In a different dimension of our very own earth, are every person on the planet is provided with a unique identity code(UIC).Theis a total of 9 continents on this planet.To classify each person based on their continent, signifies particular quality of their UIC is used.Multiply all the non-zero digits in their UIC and repeat the process till the result is a single digit ranging from 1-9.This final
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