Loading

摘要: 链式前项星: struct E { int to, w, next; }edge[N]; //这里千万要注意,如果题目是双向边的话,这里的N要开2*N int tot, head[N]; //加边 inline void add_edge(int u, int v, int w) { edge[to 阅读全文
posted @ 2020-05-25 18:30 ViKyanite 阅读(218) 评论(0) 推荐(0) 编辑