你这个程序里没有调用随机数的函数啊。
另:
产生随机数的方法与相关函数如下:
您好,簡單增加這幾行
#include <time.h> int main() { srand(time(NULL)); //Random seed Test_SeqSort(); // pass return 0; }