The C++ code which is able to count the number of powers two values, , where 2 <= a, b <= 1000
- For large numbers U may want to use multithreading and this projects procides you this opportunity
int count = multithreadedCount(a, b, 6); // 6 is threads count
std::cout << "Multithreaded Pocet se rovna " << count << std::endl;Your compiler must be able to do C++20.
# Example installation commands
git clone https://github.com/turbolaft/powersCount.git
cd powersCount
make
./target/main 1000 1000
