摘要:
1 #include <iostream> 2 #include <iomanip> 3 using namespace std; 4 5 6 void swap(int &x, int &y) 7 { 8 int tmp = x; 9 x = y; 10 y = tmp; 11 } 12 13 void insert_sort(int A[], int p, int r) 14 { 15 int i,j; 16 int key = 0; 17 for (i=p+1; i<=r; ++i) 18 ... 阅读全文
posted @ 2012-10-28 22:34
2007winter
阅读(132)
评论(0)
推荐(0)

浙公网安备 33010602011771号