> 其他 >
有两个顺序表,其元素递增有序,设计一个算法,将这两个表合并到其中一个表中,并保持原表的有序性不变.
人气:336 ℃ 时间:2020-09-20 13:08:33
解答
#include
using namespace std;
int * init(int *x ,int &n)
{
coutn;
x = (int*)malloc(sizeof(int) * n);
cout
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版