摘要:
#include <stdlib.h>#include <stdio.h>typedef int ElementType;void swap( int *a, int *b ){ int temp; temp = *a; *a = *b; *b = temp;}ElementType middian( ElementType a[], int start, int end ){ int center = ( start + end ) / 2; if( a[start] > a[center] ) swap( &a[start], &a[cen.. 阅读全文
posted @ 2011-09-27 10:44
林中鸟
阅读(208)
评论(0)
推荐(0)
浙公网安备 33010602011771号