第三题bfs内存超了 过了90佬们怎么优化? public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int m = in.nextInt(); //构建地图, 0为空地, 1为障碍物 int[][] map = new int[n][m]; int[][] tag = new int[n][m]; for (int i = 0; i <...