fork(6) download
  1. #include <iostream>
  2. #include <random>
  3. using namespace std;
  4.  
  5. int main() {
  6. random_device seed;
  7. mt19937 gen(seed());
  8. uniform_real_distribution<float> dis(-270.33, -47.5);
  9. cout << dis(seed);
  10. return 0;
  11. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
-144.323