摘要: 1. 首先代码如下:View Code 1 #ifndef __GRAPH_H__ 2 #define __GRAPH_H__ 3 4 #include <vector> 5 #include <queue> 6 #include <stack> 7 #define IN 8 #define OUT 9 #define INOUT10 using namespace std;11 12 namespace graphspace13 {14 template <typename weight>15 struct Edge 16 {17 int nD 阅读全文
posted @ 2012-07-08 16:36 kasuosuo 阅读(645) 评论(0) 推荐(0) 编辑