文件名称:huodonganpai
-
所属分类:
- 标签属性:
- 上传时间:2013-06-18
-
文件大小:626byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
汽车加油问题:一辆汽车加满油后可以行驶N千米,汽车从A地开往B地,途中有K个加油站,已知AB两地距离最近一个加油站的距离以及各个加油站和之间的距离(各个加油站之间的距离不完全相等)。设计一个有效的贪心算法使沿途的加油次数最少,并指出应在哪些加油站停靠加油;-Vehicle refueling problem: Fill up the car after driving N kilometers, bound car from A to B, on the way there are K gas station, known both AB distance from the nearest gas station and various gas stations and The distance between (the distance between the various stations are not exactly equal). Design an effective greedy algorithm makes the least number of refueling along the way, and that should be what stops refueling stations
(系统自动生成,下载前可以参看下载内容)
下载文件列表
huodonganpai.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.