摘要:
#include<iostream>#include<cstdio>using namespace std;char a[21][21];bool b[26]; int X[4]={0,1,0,-1}, Y[4]={1,0,-1,0}; int m=0;int R,C; void DFS(int r 阅读全文
摘要:
If you only do what you can do, you will never be more than you are now. 阅读全文
摘要:
NOI 2.5基本算法之搜索 1700:八皇后问题 编程样例#include<cstdio> #include<iostream> #include<cstdlib> #include<iomanip> using namespace std; bool d[16]={0},b[9]={0},c[1 阅读全文