摘要: 1 #include<stdio.h> 2 3 typedef struct NODE 4 { 5 int data; 6 struct NODE *next; 7 }Node; 8 9 #define N 1010 11 int partition(int a[], int left, int right)12 {13 int low, high;14 int pivot = a[left];15 16 low = left;17 high = right;18 19 while(low < high)20 {21 ... 阅读全文
posted @ 2013-05-12 16:49 爱无限 阅读(141) 评论(0) 推荐(0) 编辑