摘要:
DFS+状态位View Code 1 #include<iostream> 2 using namespace std; 3 4 int chess=0; 5 int step; 6 bool flag=false; 7 int ri[16],cj[16]; 8 9 bool isopen(void)10 {11 if(chess==0xFFFF)12 return true;13 else14 return false;15 }16 17 void flip(int bit)18 {19... 阅读全文