#include
"stdio.h"
#include
"malloc.h"
#include
"time.h"
#include
"stdlib.h"
void
main()
{
int
area,*a,ctl;
//area为数组大小,ctl为数组界值限制
scanf("%d%d",&area,&ctl);
a=(int *)malloc(area*sizeof(int));//为数组开辟空间
srand((unsigned int)time(NULL));
for(int i=0;i<area;i++)
a[i]=rand()%ctl;
}