搜索资源列表
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)汽车在行驶过程中遇油库
3
- 算法设计中的经典问题汽车加油问题,使用C语言编程。-The classic algorithm design vehicle refueling problem, using the C programming language.