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 5, 2026 20:35wnwnError
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:09043,665,55334,486,0001,007,0002,113,536expected "74600294196621100 ", got "73839839943355180 "
2Jul 6, 2026 23:09040,965,52731,736,0001,123,0002,113,536expected "74600294196621100 ", got "73841454886402860 "
3Jul 6, 2026 23:09041,357,20732,270,0001,006,0002,113,536expected "74600294196621100 ", got "73836638439042860 "
4Apr 5, 2026 20:354,24761,120,58234,245,0001,007,0002,277,376
5Apr 5, 2026 20:344,25056,778,57934,267,0001,007,0002,494,464
6Apr 5, 2026 20:344,27754,899,36034,488,0001,014,0002,535,424
7Apr 5, 2026 20:344,27956,091,20734,500,0001,014,0002,277,376
8Apr 5, 2026 20:354,27959,987,89834,501,0001,014,0002,277,376
9Apr 5, 2026 20:354,28463,991,62634,542,0001,015,0002,498,560
10Apr 5, 2026 20:354,28660,370,09734,558,0001,016,0002,494,464
11Apr 5, 2026 20:354,29962,148,00834,659,0001,019,0002,490,368
12Apr 5, 2026 20:354,32063,700,34634,859,000995,0002,277,376