摘要: 题目: Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: 分析: 每一行,每一列没有相同的数字,每一个3*3的小 阅读全文
posted @ 2018-12-27 14:15 silentteller 阅读(215) 评论(0) 推荐(0)
摘要: #include <iostream> #include <map> using namespace std; int main(){ map<int,int> m; for (int i = 0; i < 10; i++){ m[i] = i*i; } map<int,int>::iterator 阅读全文
posted @ 2018-12-27 14:05 silentteller 阅读(44413) 评论(4) 推荐(8)