#include #include #include using namespace std; uint32_t x = 0, y = 1, z = 2, w = 3; uint32_t generate() { uint32_t t = (x^(x<<11)); x = y; y = z; z = w; w = (w ^ (w >> 19)) ^ (t ^ (t >> 8)); return w; } int main(void) { int64_t seed; cin >> seed; x = seed; std::vector data; int S=0; for (int i = 0; i < 10000001; i++) { uint32_t a = generate(); //cout<< a << endl; if (a<2147000000){ S-=1; } else if (a>2148000000){ S+=1; } else{ data.push_back(a); } } std::sort(data.begin(), data.end()); //cout << S <