摘要:
【合并两个有序的子数组】View Code 1#include<iostream.h>2voidmerge(intarray[],intp,intq,intr,intm);3voidprint(intarray[],intn);4//voidsort_merge();5voidmain()6{7intarr[15]=8{92,1,3,14,25,104,11,15,22,24,116,10,17,20,3012};13merge(arr,1,4,9,9);14print(arr,15);15}16/****************************************** 阅读全文