-
issue a travel home to travel home to drive a car with the minimum of cost yi us...
旅行家问题 一个旅行家想驾驶汽车以最少的费yi 用从一个城市到另一个城市(假设出发时油箱是空的)。给定两个城市之间的距离为D1、汽车油箱的容量为C(以升为单位),每升汽油能行驶的距离为 D2,出发点每升汽油价格P和沿途油站数N(N可以为零),油站i离出发点距离Di,每升汽油价格Pi(i=1,2...N)。计算结果四舍五入至小数点后两位。 如果无法到达目的地,则输出“No Solution"。-issue a travel home to travel home to drive a car with the minimum of cost yi used from one city to another city (assuming starting at the fuel tank was empty). Given the two cities for the distance between D1, car fuel tank capacity of the C (in liters) per liter petrol traveling distance to the D2, the starting point liter gasoline prices P and several petrol stations along the N (N can be zero), PFS i distance from the starting point Di per liter Steam oil prices Pi (i = 1,2 ... N). Calculation results rounded to two decimal places. If unable to reach their destination, the export of "No Solution."
- 2023-09-07 00:25:03下载
- 积分:1
-
Matlab、基于 MATLAB系统的信号FFT
Matlab、基于 MATLAB系统的信号FFT-Matlab, based on MATLAB FFT signal system
- 2022-05-10 20:53:36下载
- 积分:1
-
任意精度求pi,对内存基本没有要求,spigot算法
任意精度求pi,对内存基本没有要求,spigot算法-arbitrary precision for pi, no basic right memory requirements spigot Algorithm
- 2022-08-19 15:13:09下载
- 积分:1
-
遍历图像算法
遍历图像算法访问像素值扫描与指针图像扫描迭代器的图像编写高效的图像扫描循环扫描图像与邻居访问
- 2022-08-19 14:45:54下载
- 积分:1
-
FFT
详细讲解了FFT的原理,使一些基础知识,不过还是非常实用的-FFT
- 2022-06-27 21:19:02下载
- 积分:1
-
1 bp algorithm, but there may be some code warning
一个bp算法,不过代码可能会有一些warning-1 bp algorithm, but there may be some code warning
- 2022-10-01 22:50:03下载
- 积分:1
-
面波频散曲线正演
用于面波的频散分析和反演的程序。很好用的面波频散曲线提取个反演的程序,对刚刚接触瑞雷波勘探的物探人员非常有帮助!
- 2022-11-07 17:40:03下载
- 积分:1
-
牛顿迭代法求平方根
牛顿迭代法求平方根, .doc的格式,c语言,好像有点简单哈,目前手中这个好找,过一阵再传个复杂的 ~~~
- 2022-12-15 21:10:03下载
- 积分:1
-
Genetic algorithm c source code, containing the description, but is in English!
遗传算法的c源代码,内含说明,只不过是英文!-Genetic algorithm c source code, containing the description, but is in English!
- 2022-07-08 06:24:04下载
- 积分:1
-
这个是我自己编写的高斯列主元消去法的VC程序,简单实用!
这个是我自己编写的高斯列主元消去法的VC程序,简单实用!-this is what I have written out of the Gaussian Elimination PCA VC procedures simple and practical!
- 2022-04-26 16:21:24下载
- 积分:1