Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
The first call to Lambda Function by std::accumulate uses the initial value 0 as 'a' and the first element of the vector as 'b'.
for these ex : std::vector{-1, 2, 3, 4, -5};
first imple : a = 0, b = -1 ==> resul a + std::max(0, b) = 0 + 0 = 0; then store the result to a.
Second imple : a = 0, b = 2 ==> resul a + std::max(0, b) = 0 + 2 = 2; then store the result to a.
.....
I can't understand this solution
I can't understand this solution
how
this solution isn't suitable for programming,brother
it's really clever but indentation is not very good.
nice coding
fantastic man
ohh!!
As simple as the idea of the code, as imposible as to got to mind anyone.
great work man.
I liked your mind mood