mirror of
https://github.com/kuhyx/testsAndMisc-archive.git
synced 2026-07-04 18:43:11 +02:00
11 lines
204 B
C++
11 lines
204 B
C++
#include <iostream>
|
|
#include <random>
|
|
|
|
int main() {
|
|
std::random_device rd;
|
|
std::uniform_real_distribution<double> dist(1.0, 10.0);
|
|
|
|
for (int i = 0; i < 16; ++i)
|
|
std::cout << dist(rd) << "\n";
|
|
}
|