Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- #include <ext/pb_ds/assoc_container.hpp>
- #include <ext/pb_ds/tree_policy.hpp>
- using namespace std;
- using namespace __gnu_pbds;
- #define endl '\n'
- #define fi first
- #define se second
- #define For(i, l, r) for (auto i = (l); i < (r); i++)
- #define ForE(i, l, r) for (auto i = (l); i <= (r); i++)
- #define FordE(i, l, r) for (auto i = (l); i >= (r); i--)
- #define Fora(v, a) for (auto v: (a))
- #define bend(a) (a).begin(), (a).end()
- #define isz(a) ((signed)(a).size())
- using ll = long long;
- using ld = long double;
- using pii = pair <int, int>;
- using vi = vector <int>;
- using vpii = vector <pii>;
- using vvi = vector <vi>;
- mt19937 rando(chrono::steady_clock::now().time_since_epoch().count());
- int randt(int l, int r, int k = 0){
- if (k == 0){
- return rando() % (r - l + 1) + l;
- }
- if (k > 0){
- return max(randt(l, r, k - 1), (int)(rando() % (r - l + 1)) + l);
- }
- else{
- return min(randt(l, r, k + 1), (int)(rando() % (r - l + 1)) + l);
- }
- }
- string tos(int x){
- string ans;
- ans += x / 10 + '0';
- ans += x % 10 + '0';
- return ans;
- }
- string vowels = "aeiou";
- string consonants = "bdfghjklmnpqrstvwxz";
- string normalize(string s){
- Fora(&v, s){
- v = tolower(v);
- if (v == ' '){
- v = '_';
- }
- }
- return s;
- }
- signed main(){
- ios_base::sync_with_stdio(0);
- cin.tie(0); cout.tie(0);
- // freopen("KEK.inp", "r", stdin);
- // freopen("KEK.out", "w", stdout);
- int seed; cin >> seed;
- mt19937_64 rando(seed);
- vector <string> nicks = {};
- For(i, 0, isz(nicks)){
- string pass;
- For(i, 0, 8){
- if (i % 2){
- pass += vowels[randt(0, vowels.length() - 1)];
- }
- else{
- pass += consonants[randt(0, consonants.length() - 1)];
- }
- }
- cout << "373812" << " | "
- << normalize(nicks[i]) << " | "
- << pass << " | "
- << nicks[i] << endl;
- }
- }
- /*
- ==================================================+
- INPUT: |
- --------------------------------------------------|
- --------------------------------------------------|
- ==================================================+
- OUTPUT: |
- --------------------------------------------------|
- --------------------------------------------------|
- ==================================================+
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement