摘要: #include <iostream> #include <chrono> #include <random> std::random_device rd; std::mt19937 gen(time(0)); // 以 rd() 的结果,作为初始种子,去初始化梅森 19937 随机数引擎 std: 阅读全文
posted @ 2020-12-03 17:14 楼主好菜啊 阅读(105) 评论(0) 推荐(0) 编辑