搜索资源列表
car
- 一辆汽车加满油后可行驶n 公里。旅途中有若干个加油站。设计一个有效算法,指出应在哪些加油站停靠加油,使沿途加油次数最少。并证明算法能产生一个最优解。-A fill up the car after running kilometers n. The journey with a plurality of gas station. The design of an efficient algorithm, point out should be in which gas station refue
qichejiayouwenti
- 一辆汽车加满油后可行驶n公里。旅途中有若干个加油站。设计一个有效算法,指出应 在哪些加油站停靠加油,使沿途加油次数最少。对于给定的n(n <= 5000)和k(k <= 1000)个加油站位置,编程计算最少加油次数。-Fill up the car after driving an n km. There are several gas stations journey. Design an efficient algorithm, which pointed out that