摘要: 零、基础: 1、图的存储方式: 1)、邻接表: vector<int> h(n, -1); // 邻接表表头指针 vector<int> ne(n); // next指针 vector<int> e(n); // value vector<int> w(n); // 边的权值,有时不需要 int i 阅读全文
posted @ 2020-11-26 18:51 macguz 阅读(215) 评论(0) 推荐(0)