摘要: 题目:http://poj.org/problem?id=1753因为粗心错了好多次……,尤其是把1#include#includeusing namespace std;int id,vis[1q; int i; struct node pos,cur; if(id==0||id==65535) return 0; memset(vis,0,sizeof(vis)); pos.step=0; pos.x=id; q.push(pos); vis[id]=1; while(!q.empty()) { cur=q.f... 阅读全文
posted @ 2013-06-20 22:38 水门 阅读(334) 评论(0) 推荐(0)