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 10, 2026 13:43Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 21:38Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 21:38044,444,42635,463,0001,115,0002,113,536expected "74600294196621100 ", got "74565551412596012 "
2Jul 6, 2026 21:38044,910,16235,703,0001,126,0002,113,536expected "74600294196621100 ", got "74565961012599852 "
3Jul 6, 2026 21:38042,735,54633,674,0001,147,0002,113,536expected "74600294196621100 ", got "74481145652602668 "
4May 10, 2026 13:434,22144,509,61534,006,0001,034,0002,113,536
5May 10, 2026 13:434,22743,472,29334,031,0001,059,0002,113,536
6May 10, 2026 13:434,22945,436,71434,052,0001,052,0002,113,536
7May 10, 2026 13:434,23144,162,09434,044,0001,076,0002,113,536
8May 10, 2026 13:434,23642,935,61334,106,0001,054,0002,113,536
9May 10, 2026 13:434,24944,450,25634,213,0001,056,0002,113,536
10May 10, 2026 13:434,26342,758,31234,341,0001,049,0002,113,536
11May 10, 2026 13:434,29243,993,71334,554,0001,071,0002,113,536
12May 10, 2026 13:434,35743,498,18435,123,0001,046,0002,113,536