← All problemsSign in

Gandhiji Four Monkeys

Gandhi has four monkeys $m_1,m_2,m3_,m_4$. Each of them are having initial supernatural ability $a_1=1,a_2=2,a_3=3,a_4=4$ respectively, to influence people. Total number of people influenced by them in a day is given by $a_1 \times a_2 \times a_3 \times a_4 $. After each day their respective abilities increases by 1. The total number of people influenced till $k^{th}$ day is given as the total

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