typedef struct {
ElemType* elem;
int length;
int listsize;
}SqList;
void Union(SqList La,SqList Lb,SqList& Lc){
for(int i=k=0;iLc.elem[k++] = La.elem[i];
}
for(int j=0;jfor(int i = 0;i if(i == La.length) Lc.elem[k++] = Lb.elem[j];
}
Lc.length = k;//修改表长
}