实现
//链式前向星
//定义全局初始化为0
int cnt_edge, head[MAX_N], next[MAX_M], to[MAX_M], w[MAX_M];
// 加边
inline void add_edge(int a, i
2022-03-02