int main() { int n; while (cin >> n) { std::mt19937_64 num((unsigned)time(NULL)); // 种子,可以选择时间作为seed std::uniform_int_distribution<uint64_t> distribution(1, 9999999999); // 设置范围 std::cout << distribution(num) << " ----- " << distribution(num) << std::endl; std::cout << distribution(num) << " ----- " << distribution(num) << std::endl; std::cout << distribution(num) << " ----- " << distribution(num) << std::endl; } system("pause"); return 0; }