-
顺序队列C实现
#include "stdio.h" #include "stdlib.h" #include "io.h" #include "math.h" #include "time.h"#define OK 1#define ERROR 0#define TRUE 1#define FALSE 0#define MAXSIZE 20 /* 存储空间初始分配量 */typedef int Status; typedef int QElemType; /* QElemType类型根据实际情况而定,这里假设为int *//* 循环队列的顺序存储结构 */typedef struct{ QElemType data[MAXSIZE]; int front; /* 头指针 */ int rear; /* 尾指针,若队列不空,指向队列尾元素的下一个位置 */}SqQueue;Status visit(QElemType c){ printf("%d ",c); return OK;}/* 初始化一个空队列Q */Status Init
- 2022-08-13 11:29:01下载
- 积分:1
-
计算方法经典算法(弦截法二分法牛顿迭代法龙贝格算法)
计算方法经典算法(弦截法二分法牛顿迭代法龙贝格算法)-classic calculation algorithm (xianjie Act dichotomy Newton Romberg algorithm)
- 2022-04-07 16:00:07下载
- 积分:1
-
罗马尼亚一星级算法
罗马尼亚一星级算法我们样本问题中定义作为世界的二维数组表示一种地形每个元素包含一个整数从 0 到 5,表明的成本穿越地形。零表示最不可能的困难在旅行 (想想冰溜冰场如果你可以滑冰) 则 5 代表最难。9 表明我们不能错过。
- 2023-06-21 05:10:03下载
- 积分:1
-
四皇后问题,八皇后问题,特洛比方块等等一些数学问题算法实现...
四皇后问题,八皇后问题,特洛比方块等等一些数学问题算法实现- Four empresses questions, eight empresses questions, Turlogh
and so on some mathematics question algorithms realizes compared to
the block
- 2023-03-13 08:45:04下载
- 积分:1
-
JPEG解码
JPEG的解压算法,可以帮助初学者明确了解JPEG格式信息,对照代码可以明白数据标识码在那边表示,也可以修改他们做出相应调整。对于刚接触JPEG格式的人来说是有用的。
- 2022-04-11 10:46:23下载
- 积分:1
-
实现有限元软件ansys输出单元编号的按高程随机选取
实现有限元软件ansys输出单元编号的按高程随机选取-Ansys finite element software to achieve the output unit numbers randomly selected by the elevation
- 2023-02-26 06:00:04下载
- 积分:1
-
米勒拉宾算法的c语言代码
本代码是使用米勒拉宾算法对一个数是否为素数作出判断,综合运用了费马小定理,卡米尔歇数的性质,卡米尔歇数的考赛特判别法的数学方法,拉宾米勒素数测试算法是一个不完全准确的算法,当然,底数a数组取数越多,测试的准确率越高
- 2022-08-26 00:00:54下载
- 积分:1
-
求解声学问题的边界元源程序,可以为使用边界元法求解位势问题和弹性力学问题提供启发...
求解声学问题的边界元源程序,可以为使用边界元法求解位势问题和弹性力学问题提供启发-problem solving acoustic BEM source, for the use of the boundary element method and the potential problems of elasticity to provide inspiration
- 2022-07-08 23:35:26下载
- 积分:1
-
经典c程序100例
经典c程序100例-100 cases of classic c procedures
- 2022-03-23 03:53:28下载
- 积分:1
-
此小程序可以根据IP地址,查询到它的机器的归属地!
此小程序可以根据IP地址,查询到它的机器的归属地!-This small program can be the basis of IP addresses, inquiries to its attribution to the machine!
- 2022-02-26 14:02:08下载
- 积分:1