srand(time(NULL));//设置时间种子
int flag= rand()%10;
生成随机数
最新推荐文章于 2022-11-28 20:23:40 发布
srand(time(NULL));//设置时间种子
int flag= rand()%10;