随笔分类 -  链式前向星

摘要:#include using namespace std; typedef struct w_W{ int eend; int weight; int next; }miao; miao x[100010]; int head[100010]; int cnt=0; void add(int s,int e,int w){ x[cnt].eend=e; ... 阅读全文
posted @ 2019-01-15 10:43 快乐的黄鳝 阅读(106) 评论(0) 推荐(0)