#include <iostream>
#include <random>
#include <ctime>
using namespace std;
int main() {
// hardware access is disabled at ideone.com, will seed with time instead
//    random_device rd; // access hardware RNG
//    default_random_engine e(rd()); // seed the software PRNG
    default_random_engine e(time(NULL)); // seed the software PRNG
    uniform_real_distribution<> d(-1, 1); // range
    for(int n = 0; n<100; ++n)
        cout << d(e) << ' ';
    cout << '\n';
}
