From 789a737e9b9dbb280fa07bbea82eb58499b4a920 Mon Sep 17 00:00:00 2001 From: tong tong zhang Date: Sat, 24 Jun 2023 19:23:17 +0800 Subject: [PATCH] 222 --- README.md | 112 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 99 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index bc950ba..0ff645a 100644 --- a/README.md +++ b/README.md @@ -101,16 +101,83 @@ 可以配合程序代码加以说明。如: -```cpp -struct LNode { - E data; // 数据元素 - LNode *next; // 指向下一个结点的指针 -}; -``` +int maze[M][N],row,col; +typedef struct 栈操作函数 +void Init_hand_Maze(int maze[M][N],int m,int n) +{int i,j; +for(i=1;i<=m+1;i++) +for(j=1;j<=n+1;j++) +{maze[i][j]=1; +} +cout<<" 请按行输入迷宫, 0表示通路, 1 表示障碍:"<>maze[i][j]; +for(i=1;i