open_in_new content_copy
int sum = accumulated(v.begin(),v.end(),0);
open_in_new MORE content_copy COPY

@ayushg103 at thiscodeWorks.com