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 09:58wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:58Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:58035,571,92926,739,0001,005,0002,113,536expected "74600294196621100 ", got "74534683847430334 "
2Jul 6, 2026 16:58037,079,44127,892,0001,010,0002,113,536expected "74600294196621100 ", got "74534752577374079 "
3Jul 6, 2026 16:58035,664,77326,754,0001,033,0002,113,536expected "74600294196621100 ", got "74534685688982423 "
4May 10, 2026 09:583,43942,613,19027,479,0001,070,0002,482,176
5May 10, 2026 09:583,50543,927,09928,003,0001,095,0002,486,272
6May 10, 2026 09:583,53846,438,70728,284,0001,089,0002,482,176
7May 10, 2026 09:583,53943,458,49628,321,0001,060,0002,478,080
8May 10, 2026 09:583,54444,828,20828,347,0001,069,0002,482,176
9May 10, 2026 09:583,54646,641,86228,368,0001,068,0002,486,272
10May 10, 2026 09:583,55645,428,53728,447,0001,074,0002,482,176
11May 10, 2026 09:583,56847,367,06528,521,0001,094,0002,486,272
12May 10, 2026 09:583,56948,005,21328,543,0001,086,0002,473,984