摘要: 用的是回溯法 1 class Solution { 2 public: 3 int INITIAL = -1000; 4 // 一维数组a[n]中,下标代表行号,对应里面存的值代表列号。比如a[2] = 4,说明2行4列(0行0列为最开始的行列号) 5 bool place(... 阅读全文
posted @ 2015-05-10 10:55 HelloWaston 阅读(158) 评论(0) 推荐(0) 编辑