#include #include #include #include #define MAX_STACK_SIZE 100 /* 스택의 최대 길이 */ #define ROW_SIZE 11 /* 현 미로의 최대 행 길이 */ #define COL_SIZE 15 /* 현 미로의 최대 열 길이 */ #define TRUE 1 #define FALSE 0 typedef struct { /* 미로탐색 경로가 들어갈 스택 */ int row; int col; int dir; }element; element stack[MAX_STACK_SIZE]; int top = -1; /* 스택의 top변수 */ typedef struct { /* 8방향의 좌표를 가질 구조체 */ int vert; int horiz; }offsets; o..