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 listMar 17, 2026 09:58limanjun99limanjun99Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 22:46Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 22:50021,764,4379,842,0001,250,0002,113,536expected "69447061067 ", got "35297258877369596"
2Oct 15, 2026 22:50067,993,04252,386,0004,476,0002,113,536expected "107373173724522813 ", got "107096158315673466"
3Oct 15, 2026 22:50088,133,33768,527,0008,932,0002,113,536expected "10926695929069105 ", got "122982883504559324"
4Mar 17, 2026 09:586,32073,667,78951,447,0001,008,0002,486,272
5Mar 17, 2026 09:586,33880,134,87951,592,0001,011,0002,289,664
6Mar 17, 2026 09:586,33880,834,51451,591,0001,011,0002,486,272
7Mar 17, 2026 09:586,33981,362,12150,594,0002,023,0002,289,664
8Mar 17, 2026 09:586,34183,753,91052,628,00002,289,664
9Mar 17, 2026 09:586,34681,963,46751,657,0001,012,0002,289,664
10Mar 17, 2026 09:586,35485,959,66850,752,0001,990,0002,490,368
11Mar 17, 2026 09:586,36385,280,55252,810,00002,289,664
12Mar 17, 2026 09:586,36777,317,06251,830,0001,016,0002,289,664