Max Product
CodeChefOpen on judge ↗
Bhavya is A intelligent girl in her street and it is known to all the people in their street. Once bhavya went to a shop to buy some chocolates and the shopkeeper gave a riddle that divide the money such a way that the divided money product is the maximum and you can get maximum chocolates. As bhavya is sick, she needs help. Come let solve the problem and help bhavya. ###Input: - First line wil
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