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 14, 2026 05:07wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 20:48Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 20:49037,799,23628,718,0001,036,0002,113,536expected "74600294196621100 ", got "72262096928252716 "
2Jul 6, 2026 20:49037,371,11528,487,0001,089,0002,113,536expected "74600294196621100 ", got "72468336600817452 "
3Jul 6, 2026 20:49037,361,03028,299,0001,087,0002,113,536expected "74600294196621100 ", got "72384344996790572 "
4Apr 14, 2026 05:074,06962,316,40732,779,000993,0002,277,376
5Apr 14, 2026 05:084,07557,202,55131,833,0001,989,0002,494,464
6Apr 14, 2026 05:094,07663,261,37432,838,000995,0002,277,376
7Apr 14, 2026 05:084,07660,784,87431,840,0001,990,0002,490,368
8Apr 14, 2026 05:094,09463,288,24131,982,0001,998,0002,486,272
9Apr 14, 2026 05:094,11659,596,28432,157,0002,009,0002,490,368
10Apr 14, 2026 05:084,15754,445,85533,491,0001,014,0002,535,424
11Apr 14, 2026 05:094,16565,294,85533,555,0001,016,0002,494,464
12Apr 14, 2026 05:084,17657,312,11133,642,0001,019,0002,277,376
13Apr 14, 2026 05:094,23757,871,77933,159,0002,009,0002,486,272
14Apr 14, 2026 05:094,26257,187,48934,368,0001,010,0002,498,560
15Apr 14, 2026 05:074,29062,744,21734,590,0001,017,0002,277,376
16Apr 14, 2026 05:084,31665,699,69234,828,000995,0002,277,376
17Apr 14, 2026 05:084,31963,345,70133,856,0001,991,0002,277,376
18Apr 14, 2026 05:074,33159,624,11933,954,0001,997,0002,494,464