摘要:
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 阅读全文