You are viewing a single comment's thread. Return to all comments →
return accumulate(ar.begin(), ar.end(), 0ll);
notice the ll after 0
A Very Big Sum
You are viewing a single comment's thread. Return to all comments →
notice the ll after 0