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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:25Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:25037,242,88828,222,0001,032,0002,113,536expected "74600294196621100 ", got "74534678593156344 "
2Jul 6, 2026 15:25037,388,46828,410,0001,031,0002,113,536expected "74600294196621100 ", got "74535199200680130 "
3Jul 6, 2026 15:25035,155,72626,196,0001,001,0002,113,536expected "74600294196621100 ", got "74534897690365900 "
4Apr 26, 2026 13:303,40440,475,35227,248,0001,009,0002,547,712
5Apr 26, 2026 13:303,42251,207,65727,390,0001,014,0002,482,176
6Apr 26, 2026 13:303,43145,315,76627,466,0001,017,0002,473,984
7Apr 26, 2026 13:303,43342,442,04327,485,0001,017,0002,473,984
8Apr 26, 2026 13:303,44444,364,59127,566,0001,020,0002,486,272
9Apr 26, 2026 13:303,50748,443,51127,106,0002,007,0002,490,368
10Apr 26, 2026 13:303,57247,087,70828,629,0001,022,0002,486,272
11Apr 26, 2026 13:303,60746,527,92127,950,0001,996,0002,486,272
12Apr 26, 2026 13:303,66243,181,85228,437,0001,961,0002,478,080