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 10:20wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:20Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:20036,248,93027,174,0001,016,0002,113,536expected "74600294196621100 ", got "74534755718467068 "
2Jul 6, 2026 16:20035,813,83826,723,0001,036,0002,113,536expected "74600294196621100 ", got "74534684205656564 "
3Jul 6, 2026 16:20037,039,61527,636,0001,007,0002,113,536expected "74600294196621100 ", got "74534897168401900 "
4Apr 27, 2026 10:203,40146,365,48227,228,0001,008,0002,326,528
5Apr 27, 2026 10:203,44947,410,69227,607,0001,022,0002,486,272
6Apr 27, 2026 10:203,46644,308,69927,745,0001,027,0002,490,368
7Apr 27, 2026 10:203,48745,107,57426,951,0001,996,0002,478,080
8Apr 27, 2026 10:203,48741,738,31027,950,000998,0002,330,624
9Apr 27, 2026 10:203,49847,831,14528,034,0001,001,0002,330,624
10Apr 27, 2026 10:203,55045,395,45829,473,00002,326,528
11Apr 27, 2026 10:203,61549,068,60128,012,0002,000,0002,473,984
12Apr 27, 2026 10:203,64846,936,10929,273,0001,009,0002,486,272