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 listJul 7, 2026 10:16Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 21:32Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 21:35045,290,01335,085,0001,061,0002,142,208expected "53673129187955094 ", got "53672758104848276 "stderr
2Sep 4, 2026 21:35044,799,58035,434,0001,062,0002,142,208expected "53672739837902851 ", got "53672421185962235 "stderr
3Jul 7, 2026 10:174,31845,911,70734,752,0001,088,0002,142,208stderr
4Jul 7, 2026 10:174,32145,754,20734,806,0001,062,0002,142,208stderr
5Jul 7, 2026 10:174,32846,188,90834,836,0001,088,0002,142,208stderr
6Jul 7, 2026 10:174,33744,001,26334,934,0001,065,0002,142,208stderr
7Jul 7, 2026 10:174,34046,145,76034,959,0001,069,0002,142,208stderr
8Jul 7, 2026 10:174,34346,091,01234,977,0001,074,0002,142,208stderr
9Jul 7, 2026 10:174,34446,162,21935,004,0001,058,0002,142,208stderr
10Jul 7, 2026 10:174,35246,232,82635,013,0001,113,0002,142,208stderr
11Jul 7, 2026 10:174,43146,646,47135,688,0001,094,0002,142,208stderr
12Sep 4, 2026 21:3527,189234,177,566224,670,0001,004,0002,142,208stderr