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 listApr 22, 2026 11:06wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:00Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:00037,487,27928,437,0001,039,0002,113,536expected "74600294196621100 ", got "74593610771349387 "
2Jul 6, 2026 16:00035,172,39026,184,0001,035,0002,113,536expected "74600294196621100 ", got "74924898649086918 "
3Jul 6, 2026 16:00035,388,47126,328,0001,029,0002,113,536expected "74600294196621100 ", got "74924903120159128 "
4Apr 22, 2026 11:063,43246,251,81328,489,00002,494,464
5Apr 22, 2026 11:063,44848,014,47927,599,0001,022,0002,482,176
6Apr 22, 2026 11:063,46442,261,09527,732,0001,027,0002,494,464
7Apr 22, 2026 11:063,46742,104,15126,793,0001,984,0002,306,048
8Apr 22, 2026 11:063,46742,578,12726,793,0001,984,0002,494,464
9Apr 22, 2026 11:063,51547,965,96328,170,0001,006,0002,486,272
10Apr 22, 2026 11:063,53744,725,86528,348,0001,012,0002,490,368
11Apr 22, 2026 11:063,54947,515,47928,442,0001,015,0002,482,176
12Apr 22, 2026 11:063,57448,957,40429,667,00002,482,176