二分法插入排序
摘要:
#include "stdio.h"#include "malloc.h"typedef int KeyType;typedef int DataType;typedef struct { //排序码字段 KeyType key; //记录的其他字段 DataType info;}RecordNode;typedef struct{ int n; RecordNode * record;}SortObject;void binSort(SortObject * pvector){ int i,j,left,right,middle; Record... 阅读全文
posted @ 2012-05-17 22:41 yucong 阅读(387) 评论(0) 推荐(0)
浙公网安备 33010602011771号