Код: Выделить всё
#include
#include
int main()
{
std::random_device rd;
std::mt19937 gen(rd());
std::exponential_distribution d(1);
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79273004/why-msvc-stdexponential-distributionmax-returns-inf[/url]
Мобильная версия