#include<stdio.h>
char maze[8][8];
int n, m, t;
bool success;
int go[][2] = {
1, 0, -1, 0, 0, 0, 0, -1 };
void DFS(int x, int y, int time){
for (int i = 0; i < 4; i++)
{
int nx = x + go[i][0
#include<stdio.h>
char maze[8][8];
int n, m, t;
bool success;
int go[][2] = {
1, 0, -1, 0, 0, 0, 0, -1 };
void DFS(int x, int y, int time){
for (int i = 0; i < 4; i++)
{
int nx = x + go[i][0