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 listMay 3, 2026 12:14limanjun99limanjun99Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 04:29Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 04:31049,913,40736,889,0003,272,0002,113,536expected "74600294196621100 ", got "74600053897998124"
2Jul 7, 2026 04:31051,265,94137,698,0003,322,0002,113,536expected "74600294196621100 ", got "74600053897998124"
3Jul 7, 2026 04:314,87950,768,97937,193,0003,308,0002,113,536
4May 3, 2026 12:145,20759,890,49640,204,0003,015,0002,498,560
5May 3, 2026 12:145,21561,033,05139,263,0004,027,0002,416,640
6May 3, 2026 12:145,23362,987,44339,400,0004,041,0002,424,832
7May 3, 2026 12:145,25066,277,72039,524,0004,053,0002,383,872
8May 3, 2026 12:145,26962,750,36338,770,0004,970,0002,433,024
9May 3, 2026 12:145,27861,137,37738,832,0004,978,0002,433,024
10May 3, 2026 12:145,31461,698,49640,099,0004,009,0002,424,832
11May 3, 2026 12:145,32964,310,88041,222,0003,016,0002,428,928
12May 3, 2026 12:145,35963,840,14840,439,0004,043,0002,437,120