hdu 4740 The Donkey of Gui Zhou 深搜(2013 ACM/ICPC Asia Regional Hangzhou Online 1003)
#include
#include
#include
#include
#include
#include
usingnamespacestd;
constintmaxn=1010;
intdir[4][2]={{0,1},{1,0},{0,-1},{-1,0}};
intn,t1,t2,flag,p,q;
intdonkey[maxn][maxn],tiger[maxn][maxn];
void