摘要: #include "stdafx.h" #include<iostream> using namespace std; void InsertSort(int a[], int n) { for (int j = 1; j < n; j++) { int key = a[j]; //待排序第一个元素 阅读全文