1234567891011
#include <iostream> #include <random> #include <ctime> int main() { std::mt19937 generator(std::time(0)); std::normal_distribution<double> distribution(0.2, 0.1); std::cout << distribution(generator) << std::endl; }