Thursday, May 19, 2011

Fuel pumps

There are N pumps in a circle, and the distances among the pumps are given. Each pump has a given amount of fuel. You should find a good starting point so that a car can make the circle without running out of fuel.

No comments:

Post a Comment