上一页 1 ··· 3 4 5 6 7
摘要: 1 #include 2 #include 3 4 void MyQuickSort(int *pArray,int Start,int End) 5 { 6 int key = pArray[Start]; 7 int low = Start,high = End; 8 while... 阅读全文
posted @ 2017-01-13 14:03 泛未分晨 阅读(119) 评论(0) 推荐(0) 编辑
摘要: #include #include void BubbleSort(int *pArray,int nCount) { for(int i = 0;i pArray[j+1]) { int tmp = pArray[j]; ... 阅读全文
posted @ 2017-01-13 14:03 泛未分晨 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 4 void ShellSort(int *pArray,int nCount) 5 { 6 int gap = nCount/2; 7 while(gap >= 1) 8 { 9 for(int i = gap; i=0&&tmp 2 #include 3 4... 阅读全文
posted @ 2017-01-13 14:02 泛未分晨 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 4 void SortInsert(int *pArray,int nCount) 5 { 6 for(int i = 1;i=0;j--) 10 { 11 if(tmp > pArray[j]) 12 { 13 ... 阅读全文
posted @ 2017-01-13 14:01 泛未分晨 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 因为前面有很多我觉得很简单的所以这个就直接从这个开始了。如果这个博客上面没有的例子一定是我没写 阅读全文
posted @ 2017-01-13 13:58 泛未分晨 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 当然我想说为什么这个账号会被申请,或者说这个账号存在的意义,我想它全部的意义就是我需要看见自己的成长,我想我的人生一路走来,如今亦已经二十二岁,越来越大的我还是很少有成年人的心态,我不喜欢那种灰暗暗的所谓成年人心态,因为觉得所有的那些都是对生活的妥协,对自己的不负责,和心态管理的差劲导致的。我喜欢阳 阅读全文
posted @ 2017-01-13 13:47 泛未分晨 阅读(272) 评论(1) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7