← All problemsSign in

(B) Saminem And Pandemic

Saminem is a mathematician. Due to rising COVID-19 cases, Saminem is worried and has locked up himself inside. One day he was studying Mathematics and to make his mood lighter he decided to play with numbers. He observed some numbers and termed them as 'Infected'. A number is said to be 'Infected' if it is divisible by each of its digits. Since he's not good at coding he has asked you to do

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