-
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
-
2013微软编程之美挑战赛初赛源代码
2013年编程之美挑战赛,初赛、复赛部分题目的代码,已经在OJ平台上通过测试。
题目有:招聘、无尽的编号、集会、管道系统、相似字符串、竞价、树上的三角形和传话游戏
- 2022-03-22 10:24:47下载
- 积分:1
-
数据挖掘中的一算法 relim算法,适合数据挖掘初学者借鉴,c语言实现的。简单易懂。...
数据挖掘中的一算法 relim算法,适合数据挖掘初学者借鉴,c语言实现的。简单易懂。-of data mining algorithms relim an algorithm suitable for beginners from data mining, c language to achieve. Simple and understandable.
- 2022-07-28 07:41:18下载
- 积分:1
-
砼非线性有限元源程序,用FORTRAN写的比较有参考价值
砼非线性有限元源程序,用FORTRAN写的比较有参考价值-Concrete non-linear finite element source code, using FORTRAN to write a comparison reference value
- 2022-03-21 10:19:07下载
- 积分:1
-
msp430温度检测
基于msp430的温度检测,温度检测用的是ds18b20。里面配套的ad10原理图,pcb图,非常适合msp430初学者学习。
- 2023-04-30 11:15:04下载
- 积分:1
-
win32编写数字图像处理(vs2013)
资源描述了解数字图像处理的基本算法,如平移、旋转、平滑、锐化、灰度图的转化、对比度扩展,腐蚀、膨胀...
- 2022-07-16 21:24:41下载
- 积分:1
-
热电阻,热电偶,分度查询,vc源码
采用vc代码编写的,热电阻和热电偶的查询软件,适合工程上的一个小软件,可以实现8中类型的热电偶对应的电阻值查询,基本上包含了全部可能用到的工程上的热电偶
- 2022-07-25 14:39:18下载
- 积分:1
-
计算1!+2!+3!+...+n!的较快的算法。
计算1!+2!+3!+...+n!的较快的算法。
- 2022-12-24 23:55:04下载
- 积分:1
-
不错的矩阵求逆的小程序
不错的矩阵求逆的小程序-good matrix inversion of small programs
- 2023-03-02 00:10:03下载
- 积分:1
-
最近邻查找
本源码主要是提供了传统k-means算法以及利用近似k_d树算法进行加速的聚类算法。
- 2022-03-21 09:51:13下载
- 积分:1