Find the sum of all the numbers of the input vector x.
Examples:
Input x = [1 2 3 5] Output y is 11
Input x = [42 -1] Output y is 41
1 player likes this solution
1 player likes this solution
1 player likes this solution
1 player likes this solution
1 player likes this solution
2 players like this solution
2 players like this solution
1 player likes this solution
2 players like this solution
1 player likes this solution
1 player likes this solution
1 player likes this solution
2 players like this solution
11 players like this solution
1 player likes this solution
3 players like this solution
Tags
Win cash prizes and have your live script featured on our website
Learn more
46 players like this problem
46 players like this problem