Hacker News new | ask | show | jobs
by thrownaway2424 3721 days ago
Typical C program, eh? Yet another reason to not program in C, I guess.

sum = std::accumulate(begin, end, 0);