hdu 1429 priority_queue+bfs
摘要:
#include <iostream>#include <queue>using namespace std;int n, m, t;char map[20][20];int dir[4][2] = {{0,1},{0,-1},{1,0},{-1,0}};bool hash[20][20][1100];int keybin[10] = {1,2,4,8,16,32,64,1... 阅读全文
posted @ 2009-08-03 15:02 ZAFU_VA 阅读(335) 评论(0) 推荐(0) 编辑