摘要: Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled with the character '.'. A partially filled sudoku ... 阅读全文
posted @ 2015-10-18 13:35 dylqt 阅读(105) 评论(0) 推荐(0) 编辑
摘要: Description: Count the number of prime numbers less than a non-negative number, n. 找出小于n的质数的和 int countPrimes(int n) { int count = 0; if(n num(n - 1, true); num[0] = false; ... 阅读全文
posted @ 2015-10-18 09:23 dylqt 阅读(161) 评论(0) 推荐(0) 编辑