Khaleesi Wedding Party
CodeChefOpen on judge ↗
On the occasion of his marriage with khaleesi,Khal Drogo decided to arrange a wedding party. So he ordered chef to cook recipes for the party.Chef planned decided to cook $n$ different varieties(numbered from $1$ to $N$). For a valid $i$th recipe chef cooked $A$i amount of quantity. According to Chef's plan each guest served with $M$i amount of quantity of $i$th recipe. But Chef doesn't know maxim
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.
Sign in to chat with the tutor and save your progress.
Sign in to start