// uniform_int_distribution
#include <iostream>
#include <random>
int main()
{
/* Seed */
std::random_device rd;
/* Random number generator */
std::default_random_engine generator(rd());
/* Distribution on which to apply the generator */
std::uniform_int_distribution<long long unsigned> distribution(0,0xFFFFFFFFFFFFFFFF);
for (int i = 0; i < 10; i++) {
std::cout << distribution(generator) << std::endl;
}
return 0;
}
Ly8gdW5pZm9ybV9pbnRfZGlzdHJpYnV0aW9uCiNpbmNsdWRlIDxpb3N0cmVhbT4KI2luY2x1ZGUgPHJhbmRvbT4KCmludCBtYWluKCkKewogIC8qIFNlZWQgKi8KICBzdGQ6OnJhbmRvbV9kZXZpY2UgcmQ7CgogIC8qIFJhbmRvbSBudW1iZXIgZ2VuZXJhdG9yICovCiAgc3RkOjpkZWZhdWx0X3JhbmRvbV9lbmdpbmUgZ2VuZXJhdG9yKHJkKCkpOwoKICAvKiBEaXN0cmlidXRpb24gb24gd2hpY2ggdG8gYXBwbHkgdGhlIGdlbmVyYXRvciAqLwogIHN0ZDo6dW5pZm9ybV9pbnRfZGlzdHJpYnV0aW9uPGxvbmcgbG9uZyB1bnNpZ25lZD4gZGlzdHJpYnV0aW9uKDAsMHhGRkZGRkZGRkZGRkZGRkZGKTsKCiAgZm9yIChpbnQgaSA9IDA7IGkgPCAxMDsgaSsrKSB7CiAgICAgIHN0ZDo6Y291dCA8PCBkaXN0cmlidXRpb24oZ2VuZXJhdG9yKSA8PCBzdGQ6OmVuZGw7CiAgfQoKICByZXR1cm4gMDsKfQ==