An open API service indexing awesome lists of open source software.

https://github.com/avicted/lottomultithreaded

OpenMP Lotto
https://github.com/avicted/lottomultithreaded

c openmp

Last synced: about 1 month ago
JSON representation

OpenMP Lotto

Awesome Lists containing this project

README

          

# Play the lottery with all threads!

The program generates 7 random numbers in the range of 1-49, no duplicates. Using OMP the main while loop is parallellized. Statistics is printed to stdout every 100000 attempt. Feel free to modify the code.

Change the user_numbers[7] to your numbers.