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 7, 2026 10:55wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:44Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:44037,263,92827,861,0001,040,0002,113,536expected "74600294196621100 ", got "74534898651778190 "
2Jul 6, 2026 16:44037,005,15627,983,0001,035,0002,113,536expected "74600294196621100 ", got "74534897654383900 "
3Jul 6, 2026 16:44035,870,11926,833,0001,047,0002,113,536expected "74600294196621100 ", got "74534683268720574 "
4May 7, 2026 10:553,38244,883,58027,017,0001,057,0002,494,464
5May 7, 2026 10:553,38444,049,07627,029,0001,061,0002,482,176
6May 7, 2026 10:553,39346,443,33927,117,0001,049,0002,490,368
7May 7, 2026 10:553,39746,382,08027,130,0001,071,0002,494,464
8May 7, 2026 10:553,51944,077,46228,139,0001,071,0002,490,368
9May 7, 2026 10:553,52245,337,75028,124,0001,110,0002,482,176
10May 7, 2026 10:553,52847,389,13628,147,0001,140,0002,478,080
11May 7, 2026 10:553,53442,047,26828,268,0001,070,0002,482,176
12May 7, 2026 10:553,59047,940,95228,665,0001,133,0002,494,464