-
循环队列选舞伴
刚刚接触学习数据结构,针对选舞伴的问题,用顺序存储的循环队列来实现该问题,是一个比较基础的实现,跟大家一起来共享,里边标注了很详细的说明,根据提示输入就可以运行,希望对大家有帮助。
- 2022-05-24 13:22:16下载
- 积分:1
-
vbP3公式
水文学P3公式这里主要是描述降雨量之类的曲线用vb程序来实现的
- 2022-08-15 07:05:43下载
- 积分:1
-
操作系统经典问题之银行家问题的源码实现及实验报告
资源描述
实现银行家算法,C++实现,主要内容是模拟实现动态资源分配。同时编写和调试一个系统动态资源的简单模拟程序,观察死锁产生的条件,并使用适当的算法,有效的防止和避免死锁的发生。
- 2023-04-03 07:45:03下载
- 积分:1
-
本代码演示了马走日棋盘搜索算法。
本代码演示了马走日棋盘搜索算法。-demonstration of the code Ma days away chessboard search algorithm.
- 2022-04-06 17:06:34下载
- 积分:1
-
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
-
有向加权图的建立、显示和寻找最短路径
有向加权图的建立、显示和寻找最短路径- Has to the weighting chart establishment, demonstrated and
seeks the most short-path
- 2022-12-17 06:50:03下载
- 积分:1
-
用VB实现多种数值插值方法。包括:接格朗日,有序函数,三次样条,有序表的检索法,插值多项式等七种插值法。...
用VB实现多种数值插值方法。包括:接格朗日,有序函数,三次样条,有序表的检索法,插值多项式等七种插值法。-VB multiple numerical interpolation method. Including : Next granges and orderly function, cubic spline, orderly table retrieval, polynomial interpolation seven interpolation.
- 2022-03-20 06:39:32下载
- 积分:1
-
求三维凸包的程序
求三维凸包的程序- Asks the three dimensional raised package the procedure
- 2022-09-21 15:50:03下载
- 积分:1
-
QR算法得到一个对称的特征值,三对角n×n矩阵
QR ALGORITHM To obtain the eigenvalues of a symmetric, tridiagonal n by n matrix
- 2022-03-23 18:48:00下载
- 积分:1
-
研究生期间上《数值计算方法》课的作业,所有代码都是C语言实现并调试通过,现在上传为大家服务。这是松弛算法...
研究生期间上《数值计算方法》课的作业,所有代码都是C语言实现并调试通过,现在上传为大家服务。这是松弛算法-"numerical methods" courses of operations, are all code and the C language debugging passed, and upload to us. This is the relaxation algorithm
- 2022-02-01 14:42:50下载
- 积分:1