摘要: 排序 插入排序 直接插入排序 //直接插入排序 void InsertSort(int A[], int n) { int i, j, temp; for (i = 1; i < n; i++) { //将各元素插入已经排好序的序列中 if (A[i] < A[i - 1]) { //若A[i]关键 阅读全文
posted @ 2023-10-16 22:58 Zh'Blog 阅读(127) 评论(0) 推荐(0) 编辑