Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ handle it from there. :smile:
* Prime numbers
* [Primorial](include/algorithm/number_theory/primorial.hpp) :white_check_mark:
* [Sieve of Eratosthenes (simple)](cpp/include/algorithm/number_theory/sieve_of_eratosthenes.hpp) :white_check_mark:
* [Primes by Counters](cpp/include/algorithm/number_theory/primes_by_counters.hpp) :white_check_mark:

* Searching
* [Binary search](cpp/include/algorithm/searching/binary_search.hpp) :white_check_mark:
Expand Down
5 changes: 5 additions & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ add_executable(sieve_of_eratosthenes
test/algorithm/number_theory/sieve_of_eratosthenes.cpp)
target_link_libraries(sieve_of_eratosthenes test_runner)

# Sieve of Eratosthenes
add_executable(primes_by_counters
test/algorithm/number_theory/primes_by_counters.cpp)
target_link_libraries(primes_by_counters test_runner)

# ---------
# Searching
# ---------
Expand Down
Loading