个人博客:https://luxialan.com

摘要: Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.八皇后问题拖了好久才解决,用的是回溯法的思路,可以用非... 阅读全文
posted @ 2014-12-24 14:17 luxialan 阅读(126) 评论(0) 推荐(0) 编辑