搜索资源列表
car
- 算法分析中的经典问题之动态规划法汽车加油问题,应用VC++编写的C源码-Algorithm analysis of the classic problems of the dynamic programming vehicle refueling, the application VC++ source code written in C
suanfasheji
- c++实现的汽车加油问题,内含具体代码,使用贪心算法实现-c++ implementation of the vehicle refueling, containing the specific code
FindMin
- 给定一个N*N 的方形网格,设其左上角为起点,坐标为(1,1),X 轴向右为正,Y 轴向下为正,每个方格边长为1。一辆汽车从起点出发驶向右下角终点,其坐标为(N,N)。 在若干个网格交叉点处,设置了油库,可供汽车在行驶途中加油。汽车在行驶过程中应遵守如下规则: (1)汽车只能沿网格边行驶,装满油后能行驶K 条网格边。出发时汽车已装满油,在起点与终点处不设油库。 (2)当汽车行驶经过一条网格边时,若其X 坐标或Y 坐标减小,则应付费用B,否则免付费用。 (3)汽车在行驶过程中遇油库
filloil
- 实现汽车加油问题,给出汽车加满油能跑的距离n,和m个站点,以及各站点的距离c[i],求最小加油次数-Achieve vehicle refueling, fill up the car able to run a given distance n, and m sites, as well as the site of the distance c [i], find the minimum number of refueling
wenjian
- 汽车油耗计算(C实现)对于家用经济型小轿车来说,统计油耗是经常做的一件事。本题目要求根据汽油单价、每次加油所用钱数,以及该次加的油所跑里程数计算出该车的百公里油耗,并进行保存,根据需要给出统计数据。-Vehicle fuel consumption calculation (C implementation) for the household economy cars, the fuel consumption statistics is often one of the things. Th
3
- 算法设计中的经典问题汽车加油问题,使用C语言编程。-The classic algorithm design vehicle refueling problem, using the C programming language.