数独挑战 很简单但是给我启发很大的题目。对于怎么确定要填的数字所在小方块位置使用打表的方法,这一点一开始没能想到。 #include <bits/stdc++.h> using namespace std; int cnt; int col[10][10],line[10][10],squr[10][10]; int arr[10][10]; int num[10][10] = { {0,0,0,0,0,0,0,0,0,0}, {0,1,1,1,2,2,2,3,3,3}, {0,1,1,1,2,2,2,3,3,3}, {0,1,1,1,2,2,2,3,3,3}, {0,4,4,4,...