#define MAXN
int a[MAXN]
int search_c(int a[]
{int low
k
do {i=low; j=high ; t=a[low];
do{while (i<j && t<a[j]) j
if (i<j) a[i++]=a[j];
while (i<j && t>=a[i]) i++
if (i<j) a[j
} while (i<j);
a[i]=t;
if__(
if (i<k) low=__(
}while__(
return(a[k]);
}【上海大學
[
From:http://tw.wingwit.com/Article/program/sjjg/201311/22781.html