#include<bits/stdc++.h> using namespace std; int main(){ srand(time(NULL)); short n=rand() % 501 + 4500; for(auto i=0;i<n;++i) { char p=rand() % 26 + 'a'; cout<<p; } cout<<"\n"; short m=rand() % 501 + 4500; for(auto i=0;i<m;++i) { char p=rand() % 26 + 'a'; cout<<p; } return 0; }
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #include<bits/stdc++.h> using namespace std; int main(){ srand(time(NULL)); short n=rand() % 501 + 4500; for(auto i=0;i<n;++i) { char p=rand() % 26 + 'a'; cout<<p; } cout<<"\n"; short m=rand() % 501 + 4500; for(auto i=0;i<m;++i) { char p=rand() % 26 + 'a'; cout<<p; } return 0; } |