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 listJul 9, 2026 22:00Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 21:32Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 21:38046,076,05234,975,0001,221,0002,134,016expected "53670633665498889 ", got "53670309463901295 "stderr
2Jul 9, 2026 22:044,21344,415,21333,742,0001,227,0002,179,072stderr
3Jul 9, 2026 22:044,23444,518,35933,957,0001,187,0002,179,072stderr
4Jul 9, 2026 22:044,27944,936,81534,295,0001,226,0002,134,016stderr
5Jul 9, 2026 22:044,35145,418,00334,932,0001,183,0002,134,016stderr
6Jul 9, 2026 22:044,35345,576,15634,946,0001,184,0002,134,016stderr
7Jul 9, 2026 22:044,35945,642,46134,954,0001,226,0002,134,016stderr
8Jul 9, 2026 22:044,36245,618,09035,022,0001,184,0002,134,016stderr
9Jul 9, 2026 22:044,38145,817,35235,175,0001,194,0002,134,016stderr
10Jul 9, 2026 22:044,43746,309,61435,638,0001,191,0002,134,016stderr
11Sep 4, 2026 21:387,31570,570,39659,701,0001,014,0002,179,072stderr
12Sep 4, 2026 21:387,32870,595,49259,805,0001,019,0002,134,016stderr