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 listApr 27, 2026 05:48wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:43Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:43036,122,85727,022,0001,037,0002,113,536expected "74600294196621100 ", got "74534754824215729 "
2Jul 6, 2026 15:43035,951,86526,935,0001,011,0002,113,536expected "74600294196621100 ", got "74534683508327254 "
3Jul 6, 2026 15:43037,243,91328,292,0001,006,0002,113,536expected "74600294196621100 ", got "74534681984720904 "
4Apr 27, 2026 05:493,41743,554,59527,355,0001,013,0002,555,904
5Apr 27, 2026 05:493,41845,284,05527,362,0001,013,0002,486,272
6Apr 27, 2026 05:493,43949,424,17627,532,0001,019,0002,490,368
7Apr 27, 2026 05:493,44946,825,19727,605,0001,022,0002,490,368
8Apr 27, 2026 05:493,45541,707,97727,653,0001,024,0002,486,272
9Apr 27, 2026 05:493,46542,095,02226,778,0001,983,0002,494,464
10Apr 27, 2026 05:493,49647,814,20127,020,0002,001,0002,482,176
11Apr 27, 2026 05:493,63742,641,92129,182,0001,006,0002,490,368
12Apr 27, 2026 05:493,64447,624,58930,251,00002,473,984