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 listMay 9, 2026 12:22wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:51Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:52037,348,95928,336,0001,033,0002,113,536expected "74600294196621100 ", got "74535218241342140 "
2Jul 6, 2026 16:52035,567,56726,606,0001,006,0002,113,536expected "74600294196621100 ", got "74534748992516409 "
3Jul 6, 2026 16:52037,518,43228,030,0001,007,0002,113,536expected "74600294196621100 ", got "74534758334120628 "
4May 9, 2026 12:233,39042,885,71227,091,0001,049,0002,482,176
5May 9, 2026 12:233,39641,982,71827,133,0001,058,0002,478,080
6May 9, 2026 12:233,40543,104,78327,191,0001,075,0002,486,272
7May 9, 2026 12:233,48643,545,89627,845,0001,089,0002,494,464
8May 9, 2026 12:233,53448,010,09128,279,0001,061,0002,478,080
9May 9, 2026 12:233,54545,723,08128,363,0001,064,0002,478,080
10May 9, 2026 12:233,55843,764,65228,462,0001,070,0002,473,984
11May 9, 2026 12:233,56946,142,80528,538,0001,089,0002,482,176
12May 9, 2026 12:233,57845,964,51828,613,0001,088,0002,486,272