Special Recipe
CodeChefOpen on judge ↗
Chef had made a special recipe, he wants that recipe not to be known by anyone. He kept the recipe’s in a locker with a pin of $N$ digits. After few days he wanted prepare the special recipe. Unfortunately Chef forgot the pin, he just knows that the pin is an autobiographical number with at most $4$ non zero integers. An autobiographical number is a number $N$ such that the first digit of $N$ co
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