摘要: http://acm.hdu.edu.cn/showproblem.php?pid=4198#include<iostream>#include<queue>using namespace std;int n,m,d;int t[4][2]={0,1,0,-1,1,0,-1,0},vist[510][510];int mx,my;char s[510][510];struct ss{ friend bool operator<(const ss a,const ss b) { return a.sum>b.sum; } int x,y,sum;};prior 阅读全文
posted @ 2012-12-03 18:37 紫忆 阅读(287) 评论(0) 推荐(0) 编辑