C语言随机生成整形数组: #include <stdio.h> #include <stdlib.h> #include <time.h> void sjs(int a[],int x)//随机生成 整形 数组的函数 { int *p; srand((int)time(0