hdu 1180 (bfs)
摘要:
#include #include using namespace std; class Node { public : int x, y, time; }; Node first, next; int dir[4][2] = {{0,1},{0,-1},{1,0},{-1,0}}; int n, m, a, b; char map[21][21]; bool has... 阅读全文
posted @ 2009-03-31 22:33 ZAFU_VA 阅读(810) 评论(0) 推荐(1) 编辑