#include <random>
#include <iostream>
int GetRandomNumber(int min, int max)
{
auto rnd = std::random_device{};
auto gen = std::mt19937_64{rnd()};
auto dis = std::uniform_int_distribution<int>{min, max};
return dis(gen);
}
int main()
{
auto number = GetRandomNumber(0, 20);
std::cout << "number = " << number << '\n';
}