Parse integers Sergey Svistunov

Compute the sum of integers read from STDIN as fast as possible.

Input: 50 000 000 lines, each containing one integer in the range [0; 2147483647].

629871117
2024562523
1372689083
1021777120
2111176472

Output: The uint64 sum of all numbers, printed as a decimal string.

Note: Integer overflow is expected – use a 64-bit accumulator.

Back to listMar 8, 2026 17:59wnwnScore: 4,370Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 8, 2026 18:004,32060,070,66733,866,0001,992,0002,273,280
2Mar 8, 2026 18:004,33055,256,62933,943,0001,996,0002,527,232
3Mar 8, 2026 17:594,33958,046,28634,013,0002,000,0002,273,280
4Mar 8, 2026 17:594,35458,894,75734,128,0002,007,0002,498,560
5Mar 8, 2026 18:004,35456,586,38534,135,0002,007,0002,527,232
6Mar 8, 2026 17:594,35663,255,98034,143,0002,008,0002,498,560
7Mar 8, 2026 17:594,36058,044,36734,179,0002,010,0002,273,280
8Mar 8, 2026 17:594,37060,494,73735,268,0001,007,0002,273,280
9Mar 8, 2026 18:004,37458,265,46935,294,0001,008,0002,273,280
10Mar 8, 2026 18:004,38061,230,19035,341,0001,009,0002,490,368
11Mar 8, 2026 18:004,38361,439,73835,371,0001,010,0002,502,656
12Mar 8, 2026 17:594,38757,774,75235,399,0001,011,0002,498,560
13Mar 8, 2026 18:004,39559,973,95735,468,0001,013,0002,273,280
14Mar 8, 2026 18:004,40965,944,69335,576,0001,016,0002,273,280
15Mar 8, 2026 18:0010,844112,666,63888,006,0002,000,0002,273,280