Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

sum of elements in c++ stl

accumulate(a.begin(), a.end(), 0)
 
PREVIOUS NEXT
Tagged: #sum #elements #stl
ADD COMMENT
Topic
Name
4+5 =