摘要:
The goal of 8 Queens Problem is to put eight queens on a chess-board such that none of them threatens any of others. A queen threatens the squares in 阅读全文
摘要:
题意:求出n*n里面放置棋子的情况,使得每个棋子所在行、列、对角线没有其它棋子 思路: 直接看代码吧,代码注释比较好懂。 阅读全文