📅  最后修改于: 2022-03-11 15:00:00.479000             🧑  作者: Mango
function arrayShuffle(int[] in){
int tmp, rand;
Random() r = new Random()
for(var i =0; i < this.length; i++){
rand = r.nextInt(in.length);
tmp = in[i];
in[i] = in[rand];
in[rand] =tmp;
}
}