You are viewing a single comment's thread. Return to all comments →
https://en.cppreference.com/w/cpp/algorithm/accumulate The possible implementation of it is also shown. Look into https://en.cppreference.com/w/cpp/algorithm and you'll see lots of useful functions. Although, note that examples there tend to be really academic.
Seems like cookies are disabled on this browser, please enable them to open this website
Lonely Integer
You are viewing a single comment's thread. Return to all comments →
https://en.cppreference.com/w/cpp/algorithm/accumulate The possible implementation of it is also shown. Look into https://en.cppreference.com/w/cpp/algorithm and you'll see lots of useful functions. Although, note that examples there tend to be really academic.