#define _CRT_SECURE_NO_WARNINGS #include using namespace std; #define ll long long int board[9][9]; vector zeros; int cnt=0; bool found = false; bool check(pair p) { int xs = p.first / 3; int ys = p.second / 3; for (int i = 0; i < 9; i++) { if (board[p.first][i] == board[p.first][p.second] &&i!=p.second) { return false; } if (board[i][p.second] == board[p.first][p.second] &&i!=p.first) { return ..