摘要: static int answer = 0; static int N = 4;//皇后数 static int[] queen = new int[N + 1]; private static void putQueen(int j) {// 第几个皇后 for (int i = 1; i <= 阅读全文
posted @ 2022-05-21 19:06 远启 阅读(20) 评论(0) 推荐(0) 编辑