快速排序

#include <stdio.h> #include <stdlib.h> template <class T> void swap(T& a, T& b) { T temp; temp=a; a=b; b=temp; } template <class T> void partion(T* array, int left, int right) { if(left >=
相關文章
相關標籤/搜索