摘要: #include using namespace std;void insertSort(int a[], int n){ for(int i=1;i=0&&temp<a[j];--j) ... 阅读全文
posted @ 2014-12-28 12:16 岳麓丹枫 阅读(87) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; void insertSort(int a[], int n) { for(int i=1;i=0&&temp<a[j];--j) { a[j+1] = a[j]; ... 阅读全文
posted @ 2014-12-28 12:15 岳麓丹枫 阅读(129) 评论(0) 推荐(0) 编辑