参考:算法第四版 简介: 代码: #include<iostream> #include<ctime> using namespace std; void Individual(int A[], int size) { srand((unsigned)time(NULL)); for (int i = 0; i < size; i++) A[i] = rand() % 100; } void Output(int A[], int size) {