A library needs to buy 64 different books. There are 16 different bookstores selling these books at different prices.
Each bookstore charges a distinct, fixed delivery cost regardless of the number of books purchased. Thus, the librarian needs to (cleverly) choose between buying at the same store in order to avoid the delivery charge and going to another store for a cheaper price.
The exact details of the delivery charges and book prices can be found here .
What is the minimum amount he has to spend?
Details and Assumptions:
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
No explanations have been posted yet. Check back later!