Advertisement
Tec4Gen

Untitled

Apr 17th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. using namespace std;
  2.  
  3. int main()
  4. {
  5. random_device rd;
  6. mt19937 gen(rd());
  7. uniform_int_distribution<> dis(100000, 1000000);
  8.  
  9. for (int n = 0; n < 50; ++n)
  10. cout << dis(gen) << '\n';
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement