mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-13 15:37:06 +08:00
fix: add an include for functional in catalan_numbers
This commit is contained in:
@@ -9,11 +9,12 @@
|
||||
https://oeis.org/A000108/
|
||||
*/
|
||||
|
||||
#include <cassert> /// for assert
|
||||
#include <cstdint> /// for std::uint64_t
|
||||
#include <cstdlib> /// for std::size_t
|
||||
#include <numeric> /// for std::transform_reduce
|
||||
#include <vector> /// for std::vector
|
||||
#include <cassert> /// for assert
|
||||
#include <cstdint> /// for std::uint64_t
|
||||
#include <cstdlib> /// for std::size_t
|
||||
#include <functional> /// for std::plus
|
||||
#include <numeric> /// for std::transform_reduce
|
||||
#include <vector> /// for std::vector
|
||||
|
||||
/**
|
||||
* @brief computes and caches Catalan numbers
|
||||
|
||||
Reference in New Issue
Block a user