0001 #include "vector/vector.h" 0002 0003 /****************************************************************************************** 0004 * 生成长度为n的随机有序向量,元素取值来自[min, max] 0005 * The Art of Computer Programming, Vol.2, Algorithm S 0006 ******************************************************************************************/ 0007 Vector<int> randomSortedVector( Rank n, int min, int max );