摘要: 链接:https://leetcode-cn.com/problems/count-and-say/ 代码 class Solution { public: string countAndSay(int n) { string ans = "1"; for (int i = 0; i < n - 1 阅读全文
posted @ 2020-06-27 16:17 景云ⁿ 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/sudoku-solver/ 代码 class Solution { public: bool row[9][9], col[9][9], cell[3][3][9]; void solveSudoku(vector<vecto 阅读全文
posted @ 2020-06-27 16:01 景云ⁿ 阅读(74) 评论(0) 推荐(0) 编辑