← All problemsSign in

Chef and Digits of Large Numbers

CodeChefRating 2941Open on judge ↗

Chef and Abhishek are two friends. Abhishek really appreciates Chef's skills and wants to learn the secret formula behind Chef's tasty dishes. Chef will tell his secret formula only to a competent person. So to check Abhishek's competency, Chef asked him to solve the following problem. Find the number of integers between $0$ and $N$ (inclusive) such that the product of digits of the integer

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start