源码来咯!!!!!!
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include <stdlib.h>
#include <time.h>
#include<conio.h>
#define SIZE 45
//打印迷宫
void print_maze(int maze[SIZE][SIZE])
{
for (int i = 0; i < SIZE; i++)
{
for (int j = 0; j < SIZE; j++)
{
if (maze[i][j] == 1)
{
printf("█");
}
else if (maze[i][j] == 2)
{
printf("S");//入口
}
else if (maze[i][j] == 3)
{
printf("E");//出口
}
else
{
printf(" ");