글수 61
//미로찾기
#include <stdio.h>
#include "stack.h"
#define MAZE_WALL "■"
#define MAZE_SPACE "□"
#define MAX_row 10
#define MAX_col 10
char maze[MAX_row][MAX_col] = {
1,1,1,1,1,1,1,1,1,1,
0,0,1,1,1,1,1,1,1,1,
1,0,1,1,0,0,0,1,0,1,
1,0,0,0,0,1,0,1,0,1,
1,0,1,1,1,1,0,1,0,1,
1,0,1,0,0,0,0,1,0,1,
1,0,1,0,1,1,1,1,0,1,
1,1,1,0,0,0,0,0,0,1,
1,0,0,0,1,1,1,1,0,1,
1,1,1,1,1,1,1,1,0,1
};
int main()
{
printf(MAZE_WALL);
printf(MAZE_SPACE);
}


