Richie Rich
CodeChefOpen on judge ↗
Are you the type of person who always ignores the option of brute-forcing the solution and tries to find more optimal ways to solve a question? If **yes**, then turn away from this question. Richie Rich was a rich guy, and being one he purchased quite a lot of laptops. He decided to set a 4 digit pin for each of them. After setting them, he realized that some of them are identical. He kno
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