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 14, 2026 20:49wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 22:48Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 22:48042,077,89532,283,0001,188,0002,113,536expected "74600294196621100 ", got "72039171711266092 "
2Jul 6, 2026 22:48041,941,52032,333,0001,189,0002,113,536expected "74600294196621100 ", got "72036461097329452 "
3Jul 6, 2026 22:48041,680,28632,187,0001,170,0002,113,536expected "74600294196621100 ", got "72036372490217004 "
4Mar 14, 2026 20:494,25558,658,76234,305,0001,008,0002,273,280
5Mar 14, 2026 20:494,26563,913,88934,388,0001,011,0002,273,280
6Mar 14, 2026 20:494,29060,835,18934,593,0001,017,0002,490,368