2014年5月26日
摘要: 1.已知两个有序数组A,B,将它们合并为一个有序数组。利用到的是归并算法的思想。int* combine(int a[],int n1,int b[],int n2){ int i = 0,j = 0,k = 0; int *c = new int[n1+n2]; while(i<... 阅读全文
posted @ 2014-05-26 19:44 Clivia_zhou 阅读(208) 评论(0) 推荐(0) 编辑