摘要: 题目连接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=649大致题意:求r到a最少用多长时间,走到‘.'的时间为1,走到‘x'的时间为2,’#‘不能走。代码:#include<stdio.h>#include<string.h>#include<limits.h>#include<algorithm>#include<queue>using namespace std;#define M 201char map[M][M]; //存放地图。int 阅读全文
posted @ 2012-11-04 17:32 小猴子、 阅读(242) 评论(0) 推荐(0) 编辑