摘要: http://poj.org/problem?id=2157 算是细节比较多的搜索题了吧,考虑的时间比较长,最终代码写的也是那么的纠结。。。去真的不知道为什么RE啊!重新敲了一遍,完全一样的思路,然后就A掉了!搞毛啊?!白白浪费一下午找bug啊...#include<cstdio>#include<cstring>intkey[6],temkey[6];inttur[4][2]={0,1,0,-1,1,0,-1,0};boolvis[21][21];charmap[21][21];intn,m,sx,sy;structnode{intx,y;}q[500],door[6 阅读全文
posted @ 2012-03-23 19:04 追逐. 阅读(344) 评论(0) 推荐(0) 编辑