Calculate the sum of an array of integers.
EasyProblem Statement
Calculate the sum of an array of integers.
Sample Input
arr = {2, 4, 6, 8, 10}Sample Output
Sum = 30
Limits
Time: 2s · Memory: 256 MB
Calculate the sum of an array of integers.
arr = {2, 4, 6, 8, 10}Sum = 30
Time: 2s · Memory: 256 MB