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 11, 2026 07:23wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:41Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:41037,613,97028,293,0001,055,0002,113,536expected "74600294196621100 ", got "74534755383725218 "
2Jul 6, 2026 16:41039,762,89030,709,0001,021,0002,113,536expected "74600294196621100 ", got "74535199077885800 "
3Jul 6, 2026 16:41037,320,31728,472,0001,010,0002,113,536expected "74600294196621100 ", got "74534753251422749 "
4May 11, 2026 07:243,45038,923,01128,643,00002,113,536
5May 11, 2026 07:243,48541,563,03928,929,00002,113,536
6May 11, 2026 07:243,49639,047,38829,020,00002,113,536
7May 11, 2026 07:243,49938,941,43229,047,00002,113,536
8May 11, 2026 07:243,51238,641,98529,157,00002,113,536
9May 11, 2026 07:243,51336,651,59629,161,00002,113,536
10May 11, 2026 07:243,51437,957,90429,168,00002,113,536
11May 11, 2026 07:243,51638,189,59929,189,00002,113,536
12May 11, 2026 07:243,51936,743,69229,214,00002,113,536