Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- const long long mod = 1000000007,
- inf = 1100000000000000000,
- Inf = 0x3f3f3f3f;
- signed main () {
- cin.tie(0);
- ios_base::sync_with_stdio(0);
- int Tc = 1;
- // cin >> Tc;
- while (Tc--) {
- vector<int> alpha(10000000);
- mt19937 rnd(238);
- uniform_int_distribution<int> uid(0, Inf);
- for (auto& e : alpha)
- e = uid(rnd);
- sort(alpha.begin(), alpha.end());
- alpha.erase(unique(alpha.begin(), alpha.end()), alpha.end());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment