A=(3,5,8,11),,B=(2,6,8,9,11,15,20),求C=A∪B,用数据结构(C语言)的顺序表实现

[复制链接]
查看11 | 回复1 | 2011-11-5 12:31:34 | 显示全部楼层 |阅读模式
#include #define MAXSIZE 100typedef struct{int data[MAXSIZE];int len;}sqlist;void merge(sqlist a,sqlist b,sqlist *c){int i=0;int j=0;int k=0;while(ib.data[j]){c->data[k...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行