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 2, 2026 14:19Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:08wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:10029,578,22521,869,00002,117,632expected "99999998284825927 ", got "99999999950000000 "stderr
2Jul 7, 2026 05:10029,512,24121,862,00002,117,632expected "99999999199809302 ", got "99999999950000000 "stderr
3Jul 7, 2026 05:10029,437,73121,868,00002,117,632expected "99999998523048882 ", got "99999999950000000 "stderr
4Jul 2, 2026 14:204,08741,763,27732,895,0001,033,0002,117,632stderr
5Jul 2, 2026 14:204,09741,746,66632,968,0001,044,0002,117,632stderr
6Jul 2, 2026 14:204,10041,889,17332,889,0001,143,0002,117,632stderr
7Jul 2, 2026 14:204,10241,788,68633,004,0001,049,0002,117,632stderr
8Jul 2, 2026 14:204,10541,934,77332,969,0001,106,0002,117,632stderr
9Jul 2, 2026 14:204,10641,807,44732,984,0001,101,0002,117,632stderr
10Jul 2, 2026 14:204,10841,944,76533,076,0001,024,0002,117,632stderr
11Jul 2, 2026 14:204,12642,081,44533,217,0001,037,0002,117,632stderr
12Jul 2, 2026 14:204,19942,588,44933,838,0001,016,0002,117,632stderr