0_0_28434630_26913.cpp: In function 'void dfs(int, int, int)':
0_0_28434630_26913.cpp:15:38: error: 't' was not declared in this scope
if (sx == ex && sy == ey && step == t)
^
0_0_28434630_26913.cpp:20:12: error: 't' was not declared in this scope
int tem = t - step - abs(ex - sx) - abs(ey - sy);//core!!!
^
0_0_28434630_26913.cpp:29:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (map[dx][dy] != "X"&&visit[dx][dy] == 0)
^
0_0_28434630_26913.cpp: In function 'int main()':
0_0_28434630_26913.cpp:45:39: error: 't' was not declared in this scope
while (~scanf_s("%d %d %d", &n, &m, &t))
^
0_0_28434630_26913.cpp:45:40: error: 'scanf_s' was not declared in this scope
while (~scanf_s("%d %d %d", &n, &m, &t))
^
|