SHOPPING
CodeChefOpen on judge ↗
Akshat is out for shopping, he purchased a lot of things. Each thing has a different cost . At the payment counter he was informed that it’s ‘World Mathematics Day’ today. On this occasion the shop owner has decided to give discount to their customers on the basis of the cost price of the items purchased. Every item whose cost is a number from fibonacci series will be given for free. Since Aksha
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