摘要: 每个点加4个方向View Code #include <stdio.h>#include <string.h>#include <queue>using namespace std;struct node{ int x,y,dir,step; friend bool operator <(node aa, node bb) { return aa.step>bb.step; }}a;int n,m,k,x1,y1,x2,y2;char map[105][105];int dp[105][105][4];int d[4][2]={0,1,1,0,0 阅读全文
posted @ 2012-11-04 14:16 104_gogo 阅读(117) 评论(0) 推荐(0) 编辑