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 10, 2026 14:07wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 00:57Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 00:57036,658,43727,835,0001,037,0002,113,536expected "74600294196621100 ", got "74534751292256749 "
2Jul 4, 2026 00:57035,225,25526,273,0001,025,0002,113,536expected "74600294196621100 ", got "74534897901865530 "
3Jul 4, 2026 00:57035,548,87026,692,0001,015,0002,113,536expected "74600294196621100 ", got "74534758618485298 "
4May 10, 2026 14:073,26334,390,76427,089,00002,113,536
5May 10, 2026 14:073,27336,616,64927,174,00002,113,536
6May 10, 2026 14:073,27434,466,16127,179,00002,113,536
7May 10, 2026 14:073,27736,560,12727,206,00002,113,536
8May 10, 2026 14:073,41135,665,50128,319,00002,113,536
9May 10, 2026 14:073,41437,427,46828,340,00002,113,536
10May 10, 2026 14:073,42037,803,36128,390,00002,113,536
11May 10, 2026 14:073,42136,473,19427,396,0001,006,0002,113,536
12May 10, 2026 14:073,42638,349,44628,444,00002,113,536