The following languages are only available languages for the problems from the contest
VK Cup 2016 - Wild Card Round 1 (Unofficial Open Online Mirror):
→ Virtual participation
Virtual contest is a way to take part in past contest, as close as possible to participation on time. It is supported only ACM-ICPC mode for virtual contests.
If you've seen these problems, a virtual contest is not for you - solve these problems in the archive.
If you just want to solve some problem from a contest, a virtual contest is not for you - solve this problem in the archive.
Never use someone else's code, read the tutorials or communicate with other person during a virtual contest.
You are given an array of integers. Calculate the sum of its elements.
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 a single integer — the sum of the elements of the array.
2 15 110 3
90 0 21 331 45
Codeforces (c) Copyright 2010-2017 Mike Mirzayanov