Array Sum

1

2 votes
Very-Easy
Problem

You are given an array of integers of size . You need to print the sum of the elements in the array, keeping in mind that some of those integers may be quite large.

Input Format

The first line of the input consists of an integer . The next line contains space-separated integers contained in the array.

Output Format

Print a single value equal to the sum of the elements in the array.

Constraints

1<=N<=10 0<=a[i]<=10^10

Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?