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:20wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 21:10Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 21:10038,998,32029,980,0001,084,0002,113,536expected "74600294196621100 ", got "72392113680420652 "
2Jul 6, 2026 21:10037,616,09328,433,0001,083,0002,113,536expected "74600294196621100 ", got "72473738585370156 "
3Jul 6, 2026 21:10038,120,98529,185,0001,094,0002,113,536expected "74600294196621100 ", got "72478575573516332 "
4Apr 14, 2026 05:214,10557,790,71532,069,0002,004,0002,502,656
5Apr 14, 2026 05:214,10557,584,86632,069,0002,004,0002,531,328
6Apr 14, 2026 05:214,10857,564,50332,093,0002,005,0002,498,560
7Apr 14, 2026 05:204,11253,279,92832,119,0002,007,0002,277,376
8Apr 14, 2026 05:204,14063,517,67733,352,0001,010,0002,494,464
9Apr 14, 2026 05:194,16160,199,81433,522,0001,015,0002,486,272
10Apr 14, 2026 05:204,19558,360,80732,826,0001,989,0002,494,464
11Apr 14, 2026 05:194,20353,571,13832,890,0001,993,0002,535,424
12Apr 14, 2026 05:204,24055,315,23833,185,0002,011,0002,277,376
13Apr 14, 2026 05:204,28359,402,91934,530,0001,015,0002,277,376
14Apr 14, 2026 05:204,28455,274,78734,542,0001,015,0002,494,464
15Apr 14, 2026 05:194,28963,952,63634,580,0001,017,0002,277,376
16Apr 14, 2026 05:204,29764,510,35634,650,0001,019,0002,498,560
17Apr 14, 2026 05:204,39361,460,27435,453,0001,012,0002,490,368
18Apr 14, 2026 05:204,39657,125,93935,471,0001,013,0002,531,328