← All problemsSign in

Delivery Boy

Sam is a delivery boy who works in a pizza shop. His primary duty is to deliver pizza to his town.Sam has a bag in which he deliver's the pizza to the town. Sam has bit of reputation of being a lazy and tries to carry minimum number of pizzas at each trip.Robert his manager is well aware of Sam's reputation and wants him to carry a minimum of $50 order in total. Luckily for Sam , his bag is opaq

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