GetSortIdx

函数功能

排序后的索引数组。

函数原型

std::vector<int> GetSortIdx();

参数说明

参数名

输入/输出

说明

tosort

输入

待排序数组起始索引。

n

输入

待排序的元素个数。