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 3, 2026 12:48limanjun99limanjun99Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:04Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:05053,438,14441,522,0002,230,0002,113,536expected "74600294196621100 ", got "74528204596948780"
2Jul 7, 2026 05:05054,486,55341,937,0002,290,0002,113,536expected "74600294196621100 ", got "74528204596948780"
3May 3, 2026 12:505,47661,999,74843,240,0002,212,0002,510,848
4May 3, 2026 12:505,49262,028,41043,396,0002,189,0002,510,848
5Jul 7, 2026 05:055,50157,333,98543,356,0002,308,0002,117,632
6May 3, 2026 12:505,51361,365,62643,439,0002,323,0002,502,656
7May 3, 2026 12:505,52261,694,26543,512,0002,322,0002,502,656
8May 3, 2026 12:505,52462,764,67542,653,0003,201,0002,506,752
9May 3, 2026 12:505,52563,442,99442,604,0003,255,0002,510,848
10May 3, 2026 12:505,52565,629,86443,646,0002,216,0002,514,944
11May 3, 2026 12:505,66065,539,34143,755,0003,228,0002,494,464
12May 3, 2026 12:505,67162,319,33444,840,0002,237,0002,506,752