摘要:
valid rowvalid colvalid blockclass Solution {public: bool isValidSudoku(vector > &board) { unordered_set vis; //valid row for(int i = 0 ; i = '1' && board[i][j] = '1' && board[j][i] = '1' && board[i + row][j + col] <= '9' && v 阅读全文
posted @ 2014-01-09 15:09 1957 阅读(115) 评论(0) 推荐(0) 编辑