This commit is contained in:
Ñõԭ×Ó
2025-05-27 14:57:30 +08:00
parent 00e0d9366d
commit 9d96af2ff3
6 changed files with 45 additions and 35 deletions

View File

@@ -11,7 +11,9 @@ using namespace std;
int main()
{
explore(); //使用递归算法构建地图
wall[0][0][0] = 1;
//~ wall[0][0][0] = 1;
explore();
const int mazesize_x = mark.size(); //获取探索结束之后的迷宫的X轴长度
const int mazesize_y = mark[0].size(); //获取探索结束之后的迷宫的Y轴长度