Solutions are presented as using the least memory and the fastest execution time. It also takes the top
10 most recent solutions from each language. If you want to limit to a specific index, click the
"Solved" button and go to that problem.
Problems
B'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 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89a xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000) -- 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. '... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
64734617 |
steven1029 |
C |
Nov. 12, 2019, 9:46 a.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
38627314 |
_ChenKerui |
C |
May 26, 2018, 7:42 a.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17328177 |
TeddyMichael |
C |
April 15, 2016, 2:27 p.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17320273 |
77storm |
C |
April 14, 2016, 9:06 p.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17316339 |
130705009 |
C |
April 14, 2016, 3:24 p.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17302208 |
peter50216 |
C |
April 13, 2016, 1:12 p.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17302115 |
Shik |
C |
April 13, 2016, 1:03 p.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17277975 |
pomo_mondreganto |
C |
April 11, 2016, 12:56 p.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17274899 |
maks1906 |
C |
April 11, 2016, 8:11 a.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
17274613 |
Voudy |
C |
April 11, 2016, 7:33 a.m. |
OK |
J |
TESTS |
25 |
31 |
0 |
|
2200 |
remove filters
Back to search problems