mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
61cbc630c3
* Fixed array max length and coding style Max length of arrays was previously an absurdly high integer, instead implemented a numerical upper bound using log2 (max depth of seg tree being logn). Removed `using namespace std;` and `typedef long long ll;` and other competitive coding practices. Added input prompts. * Fixed remaining clang-tidy warnings * Replaced reference parameters with const & or * * Self-tests and documentation * Improved documentation * Added author names Co-authored-by: David Leal <halfpacho@gmail.com>