Introduction - If you have any usage issues, please Google them yourself
Suppose you open to the Shangri-La. Tank is full before departure, you can drive D km. A total of n-way stations, A [i] that from the first i-1 i-station to the distance. The last gas station in the Shangri-La. Please help the driver choose the design algorithm of the least number of gas stations to refuel