摘要:
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 阅读全文
posted @ 2019-09-06 21:23
抓水母的派大星
阅读(299)
评论(0)
推荐(0)
摘要:
题意:求出n*n里面放置棋子的情况,使得每个棋子所在行、列、对角线没有其它棋子 思路: 直接看代码吧,代码注释比较好懂。 阅读全文
posted @ 2019-09-06 14:05
抓水母的派大星
阅读(103)
评论(0)
推荐(0)

浙公网安备 33010602011771号