摘要:
[实验内容]1、直接插入排序2、快速排序3、堆排序(要求了解原理)【实验测试数据】输入数据:{49,38,65,97,76,13,27,49}源程序:#include <stdio.h>#define M 8typedef struct{int key;int other_data;}RecordType;void InsSort(RecordType r[], int length);void QKSort(RecordType r[],int low, int high );int QKPass(RecordType r[],int left,int right);void I 阅读全文
posted @ 2010-01-02 13:26 little健健 阅读(132) 评论(0) 推荐(0) 编辑