xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 67KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-07
  • 語言: 其他
  • 標(biāo)簽: 排序??合并??

資源簡介

實(shí)現(xiàn)兩個(gè)有序單鏈表的合并。要求:隨機(jī)創(chuàng)建兩個(gè)單鏈表,實(shí)現(xiàn)單鏈表的排序,再對(duì)兩個(gè)有序單鏈表進(jìn)行合并。

資源截圖

代碼片段和文件信息

#include
#include
#include
using?namespace?std;

#include?“d_node.h“
#include?“function.h“?

int?main()
{


node?*?L1?=?initRandom(); //初始化隨機(jī)鏈表
cout?< writelinkedList(L1);
sort(L1); //對(duì)隨機(jī)鏈表L1進(jìn)行排序
cout?< writelinkedList(L1);

node?*?L2?=?initRandom();
cout?< writelinkedList(L2);
sort(L2);
cout?< writelinkedList(L2);

emerge(L1L2); //合并二個(gè)有序鏈表L1L2

cout?< writelinkedList(L1);

return?0;
}

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件????????727??2012-03-06?11:27??exp_2\combination.cpp

?????文件????????605??2012-03-02?20:14??exp_2\d_node.h

?????文件???????4396??2012-03-04?00:05??exp_2\exp_2.dsp

?????文件????????535??2012-03-03?14:43??exp_2\exp_2.dsw

?????文件??????50176??2012-03-06?11:29??exp_2\exp_2.ncb

?????文件??????48640??2012-03-06?11:29??exp_2\exp_2.opt

?????文件????????888??2012-03-06?11:27??exp_2\exp_2.plg

?????文件???????3350??2012-03-06?11:27??exp_2\function.h

?????文件?????114688??2012-03-06?11:25??實(shí)驗(yàn)二.doc

?????目錄??????????0??2012-03-06?11:31??exp_2

-----------?---------??----------?-----??----

???????????????224005????????????????????10


評(píng)論

共有 條評(píng)論