84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
在随机数的范围内,怎么去除一些随机数,假如,是生成1到10的随机数,但我不想要它生成5的随机数,该怎么做?或者只生成指定的几个随机数,而不是生成随机数范围该怎么做?
自己整个数组存在你要随机的值,然后随机数组的下标就行了
自己整个数组存在你要随机的值,然后随机数组的下标就行了