摘要: #include <stdio.h>#include <stdlib.h>#define L 10int array[L] = {0};int Partition ( int *R, int low, int high ) { int pot = high; int i = low; while ( i < pot ) { if ( R[i] > R[high] ) { int tmp = R[i]; R[i--] = R[--pot]; R[pot] = tmp; } ... 阅读全文
posted @ 2012-11-28 10:44 tsubasa_wp 阅读(145) 评论(0) 推荐(0) 编辑