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 11, 2026 13:27wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 23:09Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 23:10040,935,97931,709,0001,121,0002,113,536expected "74600294196621100 ", got "73842782206351660 "
2Jul 6, 2026 23:10042,946,23333,758,0001,070,0002,113,536expected "74600294196621100 ", got "74222984379103020 "
3Jul 6, 2026 23:10040,674,81031,493,0001,085,0002,113,536expected "74600294196621100 ", got "73849764936064300 "
4Apr 11, 2026 13:274,22857,210,26233,086,0002,005,0002,277,376
5Apr 11, 2026 13:274,23755,980,14633,157,0002,009,0002,502,656
6Apr 11, 2026 13:274,25257,967,37334,287,0001,008,0002,490,368
7Apr 11, 2026 13:274,26658,004,04834,395,0001,011,0002,494,464
8Apr 11, 2026 13:274,27956,711,00734,504,0001,014,0002,498,560
9Apr 11, 2026 13:274,28763,676,18034,563,0001,016,0002,277,376
10Apr 11, 2026 13:274,31759,787,09433,843,0001,990,0002,531,328
11Apr 11, 2026 13:274,32063,606,73333,865,0001,992,0002,277,376
12Apr 11, 2026 13:274,51854,716,13836,489,0001,013,0002,535,424