点点滴滴”

导航

2014年8月25日 #

poj 2251 Dungeon Master

摘要: #include #include #include #include using namespace std;#define maxx 45char map[maxx][maxx][maxx];int vis[maxx][maxx][maxx];int dir[6][3]={{1,0,0},{-1... 阅读全文

posted @ 2014-08-25 20:56 点点滴滴” 阅读(156) 评论(0) 推荐(0) 编辑

poj 3083 Children of th

摘要: #include #include#includeusing namespace std;int n,m;int r[4][2]= {{0,-1},{1,0},{0,1},{-1,0}};int l[4][2]= {{0,1},{1,0},{0,-1},{-1,0}};int vis[50][50]... 阅读全文

posted @ 2014-08-25 19:05 点点滴滴” 阅读(127) 评论(0) 推荐(0) 编辑