摘要: //.model/util.h template<typename T> T get_random_num(T min,T max) { std::random_device rd; std::mt19937_64 mt(rd()); std::uniform_int_distribution<T> 阅读全文
posted @ 2023-02-26 15:02 FredGrit 阅读(34) 评论(0) 推荐(0)
摘要: //model.util.h #include <iostream> #include <random> template<typename T> T get_random_num(T min,T max) { std::random_device rd; std::mt19937_64 mt(rd 阅读全文
posted @ 2023-02-26 14:49 FredGrit 阅读(22) 评论(0) 推荐(0)