摘要: http://poj.org/problem?id=3009如果目前起点紧挨着终点,可以直接向终点滚(终点不算障碍)#include #include using namespace std;const int maxn = 21;int maz[maxn][maxn];int n,m;const ... 阅读全文
posted @ 2015-06-05 21:55 雪溯 阅读(168) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=1979#include #include using namespace std;const int maxn = 21;bool vis[maxn][maxn];char maz[maxn][maxn];int n,m;const int dx... 阅读全文
posted @ 2015-06-05 21:20 雪溯 阅读(136) 评论(0) 推荐(0)