int a = 50 + rand()%75; //a的范围50~125
int b = 75 + rand()%50; //b的范围75~125
int c = -rand()%50; //c的范围0~-50
随机值函数rand
最新推荐文章于 2025-06-08 16:26:33 发布
int a = 50 + rand()%75; //a的范围50~125
int b = 75 + rand()%50; //b的范围75~125
int c = -rand()%50; //c的范围0~-50

被折叠的 条评论
为什么被折叠?