#include <iostream>
#include <random>
#include <ctime>
int main()
{
//std::random_device seed;
//std::mt19937 rnd(seed()); // no access to hardware on ideone
std::mt19937 rnd(std::time(NULL));
std::uniform_real_distribution<> d(1, 2);
for(int n = 0; n < 10; ++n)
std::cout << d(rnd) << ' ';
std::cout << '\n';
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8cmFuZG9tPgojaW5jbHVkZSA8Y3RpbWU+CmludCBtYWluKCkKewogICAgLy9zdGQ6OnJhbmRvbV9kZXZpY2Ugc2VlZDsKICAgIC8vc3RkOjptdDE5OTM3IHJuZChzZWVkKCkpOyAvLyBubyBhY2Nlc3MgdG8gaGFyZHdhcmUgb24gaWRlb25lCiAgICBzdGQ6Om10MTk5Mzcgcm5kKHN0ZDo6dGltZShOVUxMKSk7CiAgICBzdGQ6OnVuaWZvcm1fcmVhbF9kaXN0cmlidXRpb248PiBkKDEsIDIpOwoKICAgIGZvcihpbnQgbiA9IDA7IG4gPCAxMDsgKytuKQogICAgICAgIHN0ZDo6Y291dCA8PCBkKHJuZCkgPDwgJyAnOwogICAgc3RkOjpjb3V0IDw8ICdcbic7Cn0K