Introduction - If you have any usage issues, please Google them yourself
Suppose you go through Shangri-La. Tank is full before departure, can travel D km. On the road a total of n stations, A [i] that from the first i-1 i-station to the distance. Finally, a gas station in the Shangri-La. Please design algorithms to help the driver choose the least number of refueling stations to make