import java.util.ArrayList;import java.util.Collections;import java.util.Scanner; /** @Author: zhouLai @Date: 2020/3/23 20:05 @Version 1.0 /public class Main { /* 定义一个二维数组N*M(其中2<=N<=10;2<=M<=10),如5 × 5数组下所示: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0...