-
鼹鼠闯迷宫
资源描述void creatWay(int (*mg)[N],int x, int y)//在迷宫中产生一条路,使用图的深度遍历思想来实现,
{
static int dir[4][2] = {0, 1, 1, 0, 0, -1, -1, 0};////将要走的4个方向保存在二维数组中
int zx = x*2;
int zy = y*2;
int next, turn, i;
mg[zx][zy] = 0;
if(rand()%2)
turn = 1;
else
turn = 3;
for(i=0,next=rand()%4;i
- 2022-01-26 05:46:58下载
- 积分:1
-
数值分析列主元高斯消去法
数值分析列主元高斯消去法-out numerical analysis of the main yuan Gaussian Elimination
- 2022-09-02 05:10:03下载
- 积分:1
-
Multifractal Calculation
Multifractal Calculation,一个计算多重分形谱的matlab程序
- 2023-08-31 11:05:02下载
- 积分:1
-
用C语言实现大整数相乘问题
用C语言实现大整数相乘问题-C Language large integer multiplication problems
- 2022-05-26 22:27:39下载
- 积分:1
-
kmeans算法
harris角点检测源代码,简洁高效,通俗易懂,可以有效检测出图像的角点,并提供了一个画圆的程序,用于在图像上圈出角点。 使用格式为[cnt,posr,posc] = get_harris(img,k,t) 其中img为需要检测的图像,k,t分别为该角点检测
- 2022-03-02 21:18:53下载
- 积分:1
-
java语言实现各种排序算法
采用java语言,实现克重排序算法,如快速排序、冒泡排序等;
- 2022-01-25 21:05:04下载
- 积分:1
-
ints: You would earn poin
XPObject对象
- 2022-07-14 12:16:46下载
- 积分:1
-
this procedure in running Matlab environment suitable for solving a class of lin...
此程序在matlab环境下运行,适于求解线性规划一类问题。(单纯形法)-this procedure in running Matlab environment suitable for solving a class of linear programming problems. (Simplex)
- 2022-01-26 04:35:30下载
- 积分:1
-
编程输出菱形图案
* * * * * * * * * * * * * * * *
- 2022-01-28 22:50:33下载
- 积分:1
-
字符串分解程序,用VB编写。把一个长字符串分解成若干小的字符串...
字符串分解程序,用VB编写。把一个长字符串分解成若干小的字符串-string decomposition process, the preparation of VB. Put a long string divided into several small string
- 2022-03-16 21:15:45下载
- 积分:1