摘要:
题意:略思路:此题陷阱超多,当##,#*,*#时不能走进去,套下模板就行了。#include #include#include#includeusing namespace std;#define N 20struct node{ int x,y,z; int step;}pri;int next[][2]={{1,0},{0,1},{-1,0},{0,-1}};char map[2][N][N];int n,m,time;bool vis[2][N][N];bool check(node a){ if(a.x>=0&&a.x=0&&a.yq; node 阅读全文
posted @ 2014-03-09 20:54
Teemo的技术blog
阅读(103)
评论(0)
推荐(0)