blob: 3bdaf19979fedf0bd592643dc81047fd0f7eadc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <iostream>
#include <random>
int main()
{
std::default_random_engine engine;
std::uniform_int_distribution<> distribution(0, 10000);
const int size = 10000;
std::cout << size << '\n';
for (int i = 0 ; i < size; i++)
{
std::cout << distribution(engine) << ' ';
}
return 0;
}
|