提交 b43c794c 编写于 作者: 辉哈's avatar 辉哈

修改快速排序

上级 fcf3f30f
......@@ -4,7 +4,7 @@ void QuickSort(vector<int>& v, int low, int high) {
return;
int first = low; // 低位下标
int last = high; // 高位下标
float key = v[first]; // 设第一个为基准
int key = v[first]; // 设第一个为基准
while (first < last)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册