代码改变世界

随笔档案-2016年09月

八皇后

2016-09-22 19:49 by FUNK, 208 阅读, 收藏,
摘要: public class Queen8 { public static int num = 0; //累计方案总数 public static final int MAXQUEEN = 8;//皇后个数,同时也是棋盘行列总数 public static int[] cols = new int[MA 阅读全文