mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 15:03:01 +02:00
- Add +x to Python scripts with shebangs (3 files) - Remove -x from non-script files like .cpp, .txt, makefile (23 files) - Move shebang to first line in C/imageViewer/lint.sh
14 lines
252 B
C++
14 lines
252 B
C++
#include <random>
|
|
#include <iostream>
|
|
|
|
int main() {
|
|
std::random_device rd;
|
|
std::mt19937 gen(rd());
|
|
std::uniform_real_distribution<> dis(0, 1);
|
|
|
|
for(int i = 0; i < 10; i++) {
|
|
|
|
std::cout << dis(gen) << std::endl;
|
|
}return 0;
|
|
}
|