fork(2) download
  1. #include <cstdint>
  2. #include <vector>
  3. #include <limits>
  4. #include <ctime>
  5. #include <cstdint>
  6. #include <random>
  7. #include <cstdlib>
  8. #include <algorithm>
  9.  
  10. int main()
  11. {
  12. const int NUMS = 100;
  13. int cds[NUMS];
  14. std::random_device rand;
  15. std::mt19937 engine(rand());
  16. std::shuffle(std::begin(cds), std::end(cds), engine);
  17. }
  18.  
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
Standard output is empty