← All problemsSign in

Weismann and Products

Weismann is a very curious person, and loves to play with numbers. One day, while playing with very very long numbers, a question suddenly popped up in his head. He wants to know the length of the product of the digits of the numbers he has. This means, if he has the number 542, the product 5 × 4 × 2 = 40 has 2 digits (4 and 0). He was able to do this for small numbers, but needs your help to ca

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