← All problemsSign in

Dividing Products

CodeChefRating 2322Open on judge ↗

Dr. Bobo, while working in his laboratory, thought of an interesting problem. He has spent considerable time trying to find a solution but in vain. So he turns to you to find the solution using your special powers of coding. For a positive integer N, he defines a function DIVPRO(N) as follows. - Let N be L-digit number and ni is the i-th digit in the decimal representation of N (i = 1, 2, ...,

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