Description: 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
To Search:
File list (Check if you may need any files):
jiayou\build\classes\Main.class
......\build.xml
......\manifest.mf
......\nbproject\build-impl.xml
......\.........\genfiles.properties
......\.........\private\private.properties
......\.........\.......\private.xml
......\.........\project.properties
......\.........\project.xml
......\src\Main.java
......\build\classes
......\nbproject\private
......\build
......\nbproject
......\src
......\test
jiayou