完全等概率的C语言随机数代码 srand(time(NULL));int num = (int)((random()/(1.0+RAND_MAX))*(28-3+1)+3)3~28的随机数 算法 2023-10-06 103 点赞 1 评论 156 浏览