摘要: bfsView Code #include <iostream>#include <cstdio>#include <cstring>#include <cstdlib>#include <queue>using namespace std;#define maxn 30struct Point{ int x, y;} s;int n, m;int dir[8][2] ={{ 1, 0 },{ 0, 1 },{ -1, 0 },{ 0, -1 },{ 1, 1 },{ -1, 1 },{ 1, -1 },{ -1, -1 } };ch 阅读全文
posted @ 2013-01-04 19:21 undefined2024 阅读(272) 评论(0) 推荐(0)