下面是代码#include#include#include#include#defineHeight25//迷宫的高度,必须为奇数#defineWidth25//迷宫的宽度,必须为奇数#defineWall1#defineRoad0#defineStart2#defineEnd3#defineEsc5#defineUp1#defineDown2#defineLeft3#defineRight4intmap[Height+2][Width+2];vo