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 26, 2026 13:59wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:28Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:28035,952,52726,998,0001,004,0002,113,536expected "74600294196621100 ", got "74534749843762398 "
2Jul 6, 2026 15:28037,602,52128,202,0001,049,0002,113,536expected "74600294196621100 ", got "74534676106232154 "
3Jul 6, 2026 15:28037,646,25628,296,0001,013,0002,113,536expected "74600294196621100 ", got "74534740226317749 "
4Apr 26, 2026 14:103,39443,359,46527,166,0001,006,0002,490,368
5Apr 26, 2026 14:103,40748,455,77327,273,0001,010,0002,486,272
6Apr 26, 2026 14:103,42545,999,82227,418,0001,015,0002,482,176
7Apr 26, 2026 14:103,43146,679,09627,466,0001,017,0002,486,272
8Apr 26, 2026 14:103,44545,724,19627,578,0001,021,0002,482,176
9Apr 26, 2026 14:103,46644,133,68526,785,0001,984,0002,494,464
10Apr 26, 2026 14:103,58845,582,94928,757,0001,027,0002,486,272
11Apr 26, 2026 14:103,61646,100,83628,013,0002,000,0002,482,176
12Apr 26, 2026 14:103,63745,120,56429,183,0001,006,0002,486,272