摘要: bfsView Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;#define maxn 2005#define inf 0x3f3f3f3fstruct Edge{ int v, next;}edge[maxn];struct Point{ int x, y, z;}point[maxn];struct Node{ int d, v;}q[maxn];int n, id[maxn];int head[ 阅读全文
posted @ 2011-07-17 17:41 undefined2024 阅读(239) 评论(0) 推荐(0)