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:57wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 22:49Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 22:49042,058,97532,422,0001,007,0002,113,536expected "74600294196621100 ", got "72050108847274284 "
2Jul 6, 2026 22:49042,080,13132,335,0001,193,0002,113,536expected "74600294196621100 ", got "72034765356517932 "
3Jul 6, 2026 22:49044,312,20834,527,0001,162,0002,113,536expected "74600294196621100 ", got "73483898113331500 "
4Mar 14, 2026 20:574,26362,426,16534,369,0001,010,0002,498,560
5Mar 14, 2026 20:574,26555,208,42234,388,0001,011,0002,273,280
6Mar 14, 2026 20:574,35455,239,45034,129,0002,007,0002,527,232