正在加载图片...
void Swap(Element<T>& x, Element<t>& y) f Element<t> temp=x;x=y; y=temp; j Element<>& operator](inti)/取第个元素 freturn Vector; int Partition(const int low, const int high) 快速排序划分void Swap (Element<T>& x, Element<T>& y) { Element<T> temp = x; x = y; y = temp; } Element<T>& operator [](int i) //取第i个元素 { return Vector[i]; } int Partition (const int low, const int high); //快速排序划分 }; 8
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有