← All problemsSign in

Lucky Number 72

Munchi considers number 72 as lucky number. He is given a magic number by his friend BlackHammer. BlackHammer also asked Munchi to tell him the sum of all numbers that are divisible by 72 and can be obtained by applying decimal right shift on the given magic number. Decimal Right Shift is obtained by integer division by 10. Note: As output could be large take modulus with 109+7. Input Input c

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