摘要: class Solution {private: // only used by _isValidSudoku int row[9]; int col[9]; int blk[9];public: bool _isValidSudoku(vector >& board) { if (board.empty()) return true; memset(row, 0, sizeof(row)); memset(col, 0, sizeof(col)); memset(blk, 0, sizeof(blk)); ... 阅读全文
posted @ 2014-03-12 21:34 卖程序的小歪 阅读(157) 评论(0) 推荐(0) 编辑