Preparando MOJI

Array Sum

2000ms 65536K

Description:

You are given an array of integers. Calculate the sum of its elements.

Input:

The 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!

Output:

Output a single integer — the sum of the elements of the array.

Sample Input:

2
15
110
3

Sample Output:

130

Sample Input:

90
0
21
331
45

Sample Output:

487

Informação

Codeforces

Provedor Codeforces

Código CF661C

Tags

*special

Submetido 0

BOUA! 0

Taxa de BOUA's 0%

Datas 09/05/2023 09:05:55

Relacionados

Nada ainda