摘要: 656mS#include#include#define N 110000struct node {int x,y,yanchi,sum;}a[N*10];void build(int t,int x,int y) {a[t].x=x;a[t].y=y;a[t].sum=0;a[t].yanchi=... 阅读全文
posted @ 2014-05-21 21:25 HYDhyd 阅读(150) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#define N 20using namespace std;int dis[4][2]={1,0,-1,0,0,1,0,-1};int n,m,t;struct node {int x,y,time,f;};char ma[2][N][N];int... 阅读全文
posted @ 2014-05-21 20:48 HYDhyd 阅读(120) 评论(0) 推荐(0) 编辑