会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
kenneth shu
博客园
首页
新随笔
联系
管理
订阅
2014年12月25日
排序算法
摘要: 排序1. 直接插入排序原理:将当前无序区a[i...n-1]的记录一个一个插入到有序区a[0....i-1]合适位置; 1 void insert_sort(int a[], int n) 2 { 3 int j; 4 for(int i=1;i=0&&temp0;h=h/2) 4 ...
阅读全文
posted @ 2014-12-25 18:25 kenneth shu
阅读(456)
评论(0)
推荐(0)
编辑
公告