资 源 简 介
10. 编写程序对八皇后问题进行求解:在8行8列的棋盘上放置8个皇后,使任一个皇后都不能吃掉其他的7个皇后(注:皇后可吃掉与她处于同行或同列或同一对角线上的其他棋子),并将结果以某种方式显示出来。-10. Write a program to solve the eight queens problem: In the line 8 8 of 8 placed on board the Queen, so that either a queen can not eat the other seven Queen (Note: The Queen can eat with her peers or the same column in the or the same diagonal and other pieces), and the results displayed in some way.