摘要: ```c++ /* edge[边号].to = 当前边顶点的位置 edge[边号].next = 上一个以u为起点的边的编号 head[起点] = 当前编号/边号 (最后保存的是以i为起点的边中编号最大的那条边) */ #include using namespace std; const int maxn = 110; //最大顶点数 //构建边结构体... 阅读全文
posted @ 2019-02-20 17:52 sourcry 阅读(135) 评论(0) 推荐(0)