We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std::partial_sum
"...onto the elements in the third and final chunk to get the final result: {1, 3, 6}, {10, 15, 21}, {28, 36, 55}." – pg. 290
The final element in the std::partial_sum calculation should be 45, not 55 (24 + 21).
It appears as 45 further down the page.
"..., and finally after round four you have 1, 3, 6, 10, 15, 21, 28, 36, 45, which is the final answer." – pg. 290
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The final element in the
std::partial_sum
calculation should be 45, not 55 (24 + 21).It appears as 45 further down the page.
The text was updated successfully, but these errors were encountered: