To implement a C / C ++ solution that solves the problem of factoring a given N number ([login to view URL]ón_%C3%AEntegirilor) as a product of prime numbers.
The solution is implemented sequentially but also in parallel using OMP structures.
For a received N number (which can be represented on an unsigned integer on 64 bits of type long long or long long int) determine whether it can be represented as a product of 2 prime numbers p and q (N = p * q).
The .cpp file will contain:
- sequential solution (function) that determines the prime numbers p and q (if any); if there are several possible combinations the first combination is returned
- parallel solution (on at least 2 cores) that uses basic OMP structures (but without parallel for) in which the distribution of values on cores is done manually(the programmer will manage the distribution of core processing)
- parallel solution (at least 2 cores) that uses a parallel for structure with different types of scheduler (optional) in order to check / determine prime numbers, a function with sequential processing and a version with parallel processing in OMP are implemented (the sequential variant will be used for the sequential solution)
In main () all these methods will be tested and the time required to execute them will be measured. The methods will be tested for 2 different N numbers (initialized in main) with high values (the idea is that the processing for the sequential solution takes about 20-40 seconds).
Recommendation to choose 2 long long numbers
The .cpp file containing the solution and a .txt document in which they are indicated will be loaded:
- the time required to run the parallel sequence for the chosen numbers
- the time required to run the parallel solution for the chosen numbers
- hardware used (processor type, number of cores, RAM, SDD or HDD)
Hi, I'm expert in C++ and multithreading (including OpenMP). This project is very interesting. Please award. Thank you
Bu iş için 11 freelancer ortalamada $30 teklif veriyor
I am very proficient in c/c++. I have 17 years c/c++ developing experience now, and have worked for more than 10 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environm Daha Fazla
Hello, I am expert C/C++ programmer having 5+ years experience. I am ready to do your project. Please contact me. Thank you Regards, Bilal
Hello Sir/ Ma’am A skilled full stack developer, I have rich experience in JAVA, C, C++, C#, Python, Mysql, Sql, ANDROID and ARDUINO. I am very confident with my skills and I'd like to help your business by doing Daha Fazla
Hello, I am a software and Web Developer. I hava also lot of experience in Designing. I have some rules and regulations before start of project: 1. Provide 100% work within deadline. 2. Provide unlimited revisions un Daha Fazla
Hi! I am an expert in C, C++ and data structures. I would be easily able to help you regarding any task related to them. Kindly message me to discuss more details. Thank you!
Hello C/C++ Expert Checked your description and I am so interested in your project. You can see well experienced and skillful C and C++ programmer with +15 years of experience in software development. I ensure the best Daha Fazla
Hey [login to view URL] you in good health. I have read your project description I have expertise at HTML,CSS,JAVA,WORDPRESS,C++,PYTHON etc I have done various projects on website design and application designs I have made ma Daha Fazla
I Have 10 Years C,C++ And Microcontroller And Can Make This Very Quickly With Very Accurate IHop To Work With You
I know complete C++ along with it i also know DS and Algo . i have a 5 * on HackerRank for c++ and problem solving. so i think i can do this for you.