rt
int sui(int range)//取随机数 { srand(time(NULL)); return rand()%range+1; }
上面是我原本用的,但是每一次的随机数相同,求助 有什么办法吗,谢谢大佬