BFS/DFS 模板 代码
摘要:
#include#include#include#includeusing namespace std;const int maxn=100;bool vst[maxn][maxn]; // 访问标记int dir[4][2]={0,1,0,-1,1,0,-1,0}; // 方向向量struct... 阅读全文
posted @ 2013-10-06 17:38 爱你一万年123 阅读(162) 评论(0) 推荐(0)
浙公网安备 33010602011771号