import java.util.*; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { //=======代码如下:======== // 9*9的棋盘 static int[][] map = new int[9][9]; // 二维列表,存放所有空格的坐标,如:[[0,0], [8,0]] static List<List<Integer>> spaces = new ArrayList<>(); // 标记变量:是否已正确填充所有空格 static boolean hasFinish ...