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 04:48Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 00:29Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 00:29051,096,68935,813,0001,015,0002,113,536expected "74600294196621100 ", got "35430482614128940 "
2Jul 7, 2026 00:29045,122,11135,808,0001,124,0002,113,536expected "74600294196621100 ", got "35384873705327404 "
3Jul 7, 2026 00:29043,326,87334,096,0001,116,0002,113,536expected "74600294196621100 ", got "32667822245282092 "
4May 10, 2026 04:484,32053,547,34234,747,0001,117,0002,555,904
5May 10, 2026 04:484,32151,622,59534,730,0001,136,0002,555,904
6May 10, 2026 04:484,35554,125,94334,995,0001,152,0002,555,904
7May 10, 2026 04:484,36351,108,52135,043,0001,177,0002,551,808
8May 10, 2026 04:484,36351,663,97035,184,0001,034,0002,547,712
9May 10, 2026 04:484,36953,609,67035,180,0001,085,0002,535,424
10May 10, 2026 04:484,37053,795,28035,231,0001,044,0002,547,712
11May 10, 2026 04:484,37951,944,01335,301,0001,045,0002,547,712
12May 10, 2026 04:484,42653,849,21335,697,0001,046,0002,551,808