#include <iostream>
#include <random>
int main() {
unsigned s = std::random_device()();
std::mt19937 g(s);
std::cout << "Seed set to " << s << "\n\n";
std::cout
<< "Sampling exactly from the discrete normal distribution,\n"
for (int i = 0; i < 100; ++i)
std::cout << N(g) << ((i + 1) % 20 ? ' ' : '\n');
std::cout << "\n";
}