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 listApr 27, 2026 07:53wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:53Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:53036,768,12927,779,0001,022,0002,113,536expected "74600294196621100 ", got "74534754827163748 "
2Jul 6, 2026 16:53036,225,66927,209,0001,010,0002,113,536expected "74600294196621100 ", got "74534751198409398 "
3Jul 6, 2026 16:53035,825,21926,851,0001,007,0002,113,536expected "74600294196621100 ", got "74534683309768244 "
4Apr 27, 2026 07:543,40842,751,04927,278,0001,010,0002,494,464
5Apr 27, 2026 07:543,44948,017,55627,607,0001,022,0002,482,176
6Apr 27, 2026 07:543,45840,923,33126,727,0001,979,0002,486,272
7Apr 27, 2026 07:543,46548,138,58126,778,0001,983,0002,486,272
8Apr 27, 2026 07:543,53748,643,50428,348,0001,012,0002,486,272
9Apr 27, 2026 07:543,57242,840,84828,628,0001,022,0002,482,176
10Apr 27, 2026 07:543,58545,560,31127,779,0001,984,0002,486,272
11Apr 27, 2026 07:543,60643,367,43427,938,0001,995,0002,330,624
12Apr 27, 2026 07:543,61648,991,96928,014,0002,001,0002,482,176