#include <iostream>
#include <random>
#include <ctime>
int main()
{
// no /dev/urandom access on ideone
//     std::random_device rd;
    std::mt19937 eng(std::time(NULL));
    std::normal_distribution<> dist(0.0, 3.0);

    for(int n=0; n<20; ++n)
       std::cout << dist(eng) << ' ';
}
