hdu 1010 Tempter of the Bone
摘要:
#include#include#includeusing namespace std;#define Max 9struct Node{ int x,y; char c; bool flag;} map[Max][Max],st,en;int f[4][2]= {0,1,0,-1,1,0,-1,0};int n,m,t;//int step;int myfabs(int x){ if(xt) return 0; if((myfabs(x-en.x)+myfabs(y-en.y)+t-step)%2)//剪枝 return 0; ... 阅读全文
posted @ 2013-09-12 22:09 雨钝风轻 阅读(164) 评论(0) 推荐(0) 编辑