Mahmoud_Hawara

Untitled

Jun 15th, 2026
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #include "testlib.h"
  2. #include <iostream>
  3. using namespace std;
  4.  
  5. int main(int argc, char* argv[])
  6. {
  7. registerGen(argc, argv, 1);
  8. int n = rnd.next((long long)1, (long long)1e3);
  9. cout << n << ' ' << rnd.next((long long)1, (long long)20) << '\n';
  10. while (n--)
  11. {
  12. char c = rnd.next((long long)0, (long long)25);
  13. c += 'a';
  14. cout << c;
  15. }
  16. cout << '\n';
  17. return 0;
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment