摘要: 用临接链表表示一张图, 可以给图加边, 可以bfs 1 #include <iostream> 2 #include <list> 3 #include <vector> 4 #include <queue> 5 6 using namespace std; 7 8 void createGraph 阅读全文
posted @ 2017-04-20 19:09 zhangwanying 阅读(200) 评论(0) 推荐(0) 编辑