牛客-數獨挑戰(dfs)

題目鏈接 1 暴力法(TLE) #include<bits/stdc++.h> using namespace std; const int inf= 0x3f3f3f3f; typedef long long ll; int e[10][10]; int r[10][10]; //記錄該行 1-9是否出現 出現爲 1 int c[10][10]; int k[10][10][10]; st
相關文章
相關標籤/搜索