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 03:02Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:15wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:15029,614,04620,951,0001,018,0002,117,632expected "99999998345106988 ", got "99999999950000000 "stderr
2Jul 7, 2026 05:15029,585,35521,867,00002,117,632expected "99999999861575215 ", got "99999999950000000 "stderr
3Jul 7, 2026 05:15031,571,31320,956,0001,019,0002,117,632expected "99999999552389168 ", got "99999999950000000 "stderr
4Jul 2, 2026 03:034,13542,037,54933,208,0001,113,0002,117,632stderr
5Jul 2, 2026 03:034,14142,627,78933,225,0001,153,0002,117,632stderr
6Jul 2, 2026 03:034,14342,324,75433,281,0001,112,0002,117,632stderr
7Jul 2, 2026 03:034,14642,132,75433,302,0001,117,0002,117,632stderr
8Jul 2, 2026 03:034,14942,242,55833,320,0001,118,0002,117,632stderr
9Jul 2, 2026 03:034,17142,534,41133,602,0001,019,0002,117,632stderr
10Jul 2, 2026 03:034,17542,520,31433,570,0001,086,0002,117,632stderr
11Jul 2, 2026 03:034,19242,698,06833,704,0001,090,0002,117,632stderr
12Jul 2, 2026 03:034,27743,250,63634,377,0001,123,0002,117,632stderr