摘要: 产生随机数的叫随机数生发器 生成随机数 const unsigned zseed=time(0); void solve() { //随机数生发器 mt19937_64 m{zseed}; //种子 rep(i,1,5) cout<<m()<<endl; return; } 重排序列 const u 阅读全文
posted @ 2024-02-05 12:55 cxy8 阅读(23) 评论(0) 推荐(0)