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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:59Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:59037,663,82328,293,0001,004,0002,113,536expected "74600294196621100 ", got "74534755716412068 "
2Jul 6, 2026 15:59039,398,47530,000,0001,029,0002,113,536expected "74600294196621100 ", got "74535198261143450 "
3Jul 6, 2026 15:59037,315,83128,345,0001,003,0002,113,536expected "74600294196621100 ", got "74534753285398738 "
4Apr 27, 2026 10:133,37641,057,23726,027,0002,002,0002,326,528
5Apr 27, 2026 10:133,40644,045,47627,262,0001,009,0002,490,368
6Apr 27, 2026 10:133,42745,780,08128,446,00002,494,464
7Apr 27, 2026 10:133,45642,404,67227,661,0001,024,0002,494,464
8Apr 27, 2026 10:133,46644,992,26727,745,0001,027,0002,494,464
9Apr 27, 2026 10:133,48547,381,30726,935,0001,995,0002,490,368
10Apr 27, 2026 10:133,51447,124,96027,158,0002,011,0002,486,272
11Apr 27, 2026 10:133,63644,640,46629,176,0001,006,0002,490,368
12Apr 27, 2026 10:133,64545,944,83030,256,00002,486,272