摘要:今天来贡献一个代码,用js写的解数独程序suduku_solve = function() { console.time("sudoku_solve"); // build structure var cells = Array(81), rows = Array(9), cols = Array(9), grids = Array(9); for ( var i = 0; i < 9; i++) { rows[i] = []; cols[i] = []; grids[i] = []; } for ( var row... 阅读全文
posted @ 2013-05-31 19:11 KallMeNeo 阅读(722) 评论(0) 推荐(0) 编辑