303411: CF661C. Array Sum
Memory Limit:64 MB
Time Limit:2 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
C. Array Sumtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard output
You are given an array of integers. Calculate the sum of its elements.
InputThe i-th line of the input contains an integer ai (0 ≤ a ≤ 1000) — the i-th element of the array. The size of the array is between 1 and 10, inclusive. Note that the size of the array is not given explicitly!
OutputOutput a single integer — the sum of the elements of the array.
ExamplesInput2Output
15
110
3
130Input
90Output
0
21
331
45
487