X-lab2017 / dase-2023-autumn

Introduction to Data Science and Engineering - 2023 Autumn
25 stars 5 forks source link

归并排序时生成的随机数不随机问题 #22

Open LghLcxLjxLxb opened 1 year ago

LghLcxLjxLxb commented 1 year ago

image 30c01a198eff4ef3b1a386480b23034 5e4dec21e09b168dbfad929ad5ad8fc

利用归并排序对规模为10000的数组排序,但是生成的随机数只会生成3000以内的数字,是因为栈溢出吗?(