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 6, 2026 06:07Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:03wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:03029,733,86021,073,0001,068,0002,117,632expected "100000000067643230 ", got "99999999950000000 "stderr
2Jul 7, 2026 05:03029,683,62720,975,0001,017,0002,117,632expected "99999999906750274 ", got "99999999950000000 "stderr
3Jul 7, 2026 05:03029,570,61120,969,0001,032,0002,117,632expected "99999998802702736 ", got "99999999950000000 "stderr
4Jul 6, 2026 06:084,06641,542,12932,653,0001,103,0002,117,632stderr
5Jul 6, 2026 06:084,07241,660,32632,696,0001,108,0002,117,632stderr
6Jul 6, 2026 06:084,08241,645,13332,857,0001,026,0002,117,632stderr
7Jul 6, 2026 06:084,08341,730,16832,764,0001,131,0002,117,632stderr
8Jul 6, 2026 06:084,09141,780,12532,837,0001,121,0002,117,632stderr
9Jul 6, 2026 06:084,09241,829,28932,839,0001,131,0002,117,632stderr
10Jul 6, 2026 06:084,09241,803,66932,845,0001,126,0002,117,632stderr
11Jul 6, 2026 06:084,10241,847,10232,997,0001,056,0002,117,632stderr
12Jul 6, 2026 06:084,11942,110,62933,148,0001,046,0002,117,632stderr