摘要:
巨复杂的一个模拟题。首先给的坐标系统和正常的二维数组下标不一样,需要你颠倒过来,这一来你的方向标就要颠倒。接着就模拟就行了。POJ 2632MDK2632Accepted212K16MSC++3365B2011-11-07 21:54:51struct roboot { int x,y; char dire;}R[MAXN];struct Ans { int ith; char dire; int rep;}A[MAXN];int a,b;int n,m;int mat[MAXN][MAXN];int go[4][2]={{0,1},{0,-1},{-1,0},{... 阅读全文
posted @ 2011-11-07 21:59 MDeath-Kid 阅读(337) 评论(0) 推荐(0) 编辑