摘要:
//走迷宫 #include<bits/stdc++.h> using namespace std; int front,rear,r,c,dx[4]={0,1,0,-1},dy[4]={1,0,-1,0},q[10010][3],lx,ly,mx,my; char a[110][110]; voi 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; int dx[4]={1,-1,0,0}, dy[4]={0,0,1,-1}; int bz[100][100]={1},num=0; char s[100][100],ch; bool vis[100][10 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; int t,n,m,x,y; bool b[10][10]={0}; int s=0,k=0; int dx[8]={-2,-2,-1,1,2,2,1,-1}, dy[8]={1,-1,-2,-2,-1,1,2 阅读全文