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 4, 2026 09:51limanjun99limanjun99Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 02:59Victor Mercklé19.85CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 02:59046,462,18834,554,0002,227,0002,113,536expected "74600294196621100 ", got "74599988362063660"
2Jul 7, 2026 02:59048,703,76234,799,0003,638,0002,113,536expected "74600294196621100 ", got "74528217704148780"
3Jul 7, 2026 02:59046,164,28634,178,0002,312,0002,113,536expected "74600294196621100 ", got "74600053898719020"
4May 4, 2026 09:524,64354,339,81736,275,0002,268,0002,498,560
5May 4, 2026 09:524,66154,779,12835,435,0003,256,0002,514,944
6May 4, 2026 09:524,66457,110,47735,422,0003,297,0002,510,848
7May 4, 2026 09:524,66956,017,02135,437,0003,321,0002,510,848
8May 4, 2026 09:524,67054,328,22735,333,0003,434,0002,502,656
9May 4, 2026 09:524,67156,585,76535,524,0003,247,0002,502,656
10May 4, 2026 09:524,67554,525,23436,453,0002,354,0002,502,656
11May 4, 2026 09:524,70756,874,74535,830,0003,245,0002,494,464
12May 4, 2026 09:524,75357,963,15936,235,0003,221,0002,494,464