![]() |
C++ Library Extensions 2022.12.09
To help learn modern C++ programming
|
#include <tpf_ncrnpr.hpp>
#include <tpf_output.hpp>
#include <tpf_chrono_random.hpp>
#include <future>
#include <atomic>
Go to the source code of this file.
Typedefs | |
using | big_int_t = long long |
Functions | |
big_int_t | single_thread_ncr_recursion (big_int_t n, big_int_t k) |
big_int_t | multiple_thread_ncr_recursion (big_int_t n, big_int_t k) |
void | examples_for_combination () |
void | examples_for_single_vs_multithread_recursion () |
int | main () |
Variables | |
constexpr int | factor = 2 |
int | max_thread_count |
std::atomic< int > | thread_count {0} |
using big_int_t = long long |
Definition at line 7 of file stupid_experiment.cpp.
void examples_for_combination | ( | ) |
void examples_for_single_vs_multithread_recursion | ( | ) |
Definition at line 71 of file stupid_experiment.cpp.
int main | ( | ) |
Definition at line 28 of file stupid_experiment.cpp.
Definition at line 9 of file stupid_experiment.cpp.
|
constexpr |
Definition at line 22 of file stupid_experiment.cpp.
int max_thread_count |
Definition at line 23 of file stupid_experiment.cpp.
std::atomic<int> thread_count {0} |
Definition at line 26 of file stupid_experiment.cpp.