运行 ID: 140710

Main.cc: In function ‘int dfs(int, int)’:
Main.cc:15:26: error: ‘DFS’ was not declared in this scope
    f[x][y] = max(f[x][y],DFS(next_x,next_y) + 1);
                          ^~~