MINIMUM NOTES
CodeChefOpen on judge ↗
MINIMUM NOTES Ramu goes to shopping every now and then. One day he went to shopping via having very small number of currency notes of Rs 10,5,Rs2, Rs1, Rs 100, Rs 500;only 5 notes of each. Suppose he shopped for n Rs . He want to give his currency in such a way that minimum number of notes are diminished from his pocket.Ramu is weak in mathematics , please help Ramu to solve his problem of giving
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