问:用lua生成一组10 个1~100 之间不重复随机数。 答:a={}math.randomseed(tostring(os.time()):reverse():sub(1, 6))a[1]=math.random(100)for i=2,10 ...
確定! 回上一頁