ccia_code_samples
ccia_code_samples copied to clipboard
`std::partial_sum` example – pg. 290
"...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