Glossary: Coding Interviews in C++
std::accumulate
Also written: accumulate
A `<numeric>` function that adds up a range, starting from the value you give. `0LL` makes the total a `long long`.
Glossary: Coding Interviews in C++
Also written: accumulate
A `<numeric>` function that adds up a range, starting from the value you give. `0LL` makes the total a `long long`.