Shirlies
宁静专注认真的程序媛~
摘要: 起初没有看懂题目,无处下手,就去翻翻别人的代码,才知道题目的意思,汗……简单的一般的广搜的变形,这个解释的比较详细http://blog.csdn.net/swm8023/article/details/6765219虽然知道怎么做了,但是还是犯错误,最后与上面这份代码比较之后才找出错误#include <iostream>#include <cstring>#include <queue>using namespace std;char map[102][102];int vis[102][102];int n,m,time,ans;int fx[21], 阅读全文
posted @ 2012-02-22 22:35 Shirlies 阅读(285) 评论(0) 推荐(0) 编辑