02 2021 档案
2.5基本算法之搜索 156:LETTERS
摘要:#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
阅读全文
c++搜索
摘要:NOI 2.5基本算法之搜索 1700:八皇后问题 编程样例#include<cstdio> #include<iostream> #include<cstdlib> #include<iomanip> using namespace std; bool d[16]={0},b[9]={0},c[1
阅读全文
浙公网安备 33010602011771号