fork(53) download
  1. #include <iostream>
  2. #include <random>
  3.  
  4. int main()
  5. {
  6. std::mt19937 rng(631647094);
  7. std::uniform_int_distribution<char> dist('a', 'z' + 1);
  8.  
  9. char alpha;
  10. while ((alpha = dist(rng)) != 'z' + 1)
  11. {
  12. std::cout << alpha;
  13. }
  14. }
  15.  
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
shannon