2016年4月27日
摘要: N皇后问题 N*N的棋盘上摆上N个皇后,使皇后不会相互攻击。 public class NQueenPuzzle { private readonly int queenAmount; private readonly int[] xLocations; private int solutionCo 阅读全文
posted @ 2016-04-27 14:22 ShaunLing 阅读(211) 评论(0) 推荐(0) 编辑