diff --git a/bin/main.cpp b/bin/main.cpp index 55bf429..76ce514 100644 --- a/bin/main.cpp +++ b/bin/main.cpp @@ -1,50 +1,18 @@ #include +#include "tasks/001.hpp" -#include "sort/insertion.hpp" +// #include "sort/insertion.hpp" auto main() -> int { - { - std::vector v { 5, 4, 1, 3, 6, 9, 7, 2, 8, 0, 10 }; - // alg::sort::insertion(v, 0, v.size() - 1); - alg::sort::insertion(v); - hack::log()(v); - return 0; - } - // { - // hack::log()(alg::find_primes(50)); - // return 1; - // } - // - // { - // hack::log()(alg::is_prime(2)); - // } - // - // { - // hack::log()(alg::pow(3.0, 2), alg::pow(3.0, 3)); - // } - // - // - // { - // std::vector v { 16, 7, 10, 1, 5, 11, 3, 8, 14, 4, 2, 12, 6, 13, 9, 15 }; - // alg_v2::merge_sort(v); + // std::vector v { 5, 4, 1, 3, 6, 9, 7, 2, 8, 0, 10 }; + // // alg::sort::insertion(v, 0, v.size() - 1); + // alg::sort::insertion(v); // hack::log()(v); + // return 0; // } - // - // { - // hack::log()(alg::gcd(4851, 3003)); - // hack::log()(alg::gcd(64, 28)); - // } - // - // { - // hack::log()(alg::prime_factors_v1(127)); - // hack::log()(alg::prime_factors_v1(128)); - // hack::log()(alg::prime_factors_v1(130)); - // - // hack::log()(alg::prime_factors_v2(127)); - // hack::log()(alg::prime_factors_v2(128)); - // hack::log()(alg::prime_factors_v2(130)); - // } + + alg::tasks::run(); } diff --git a/src/tasks/001.hpp b/src/tasks/001.hpp new file mode 100644 index 0000000..8367e9d --- /dev/null +++ b/src/tasks/001.hpp @@ -0,0 +1,10 @@ +#pragma once + +namespace alg::tasks +{ + inline void run() + { + + } +} +