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 26, 2026 15:31wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:31Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:31035,766,53826,834,0001,005,0002,113,536expected "74600294196621100 ", got "74534754198026875 "
2Jul 6, 2026 15:31035,611,62526,596,0001,025,0002,113,536expected "74600294196621100 ", got "74534682351620231 "
3Jul 6, 2026 15:31037,251,23028,136,0001,068,0002,113,536expected "74600294196621100 ", got "74534750742987556 "
4Apr 26, 2026 15:313,39548,631,05428,179,00002,486,272
5Apr 26, 2026 15:313,42348,113,94427,399,0001,014,0002,482,176
6Apr 26, 2026 15:313,43347,037,31827,480,0001,017,0002,478,080
7Apr 26, 2026 15:313,44045,839,33027,540,0001,020,0002,482,176
8Apr 26, 2026 15:313,44745,143,70327,594,0001,022,0002,473,984
9Apr 26, 2026 15:313,44842,039,28427,600,0001,022,0002,494,464
10Apr 26, 2026 15:313,47941,873,84327,883,000995,0002,486,272
11Apr 26, 2026 15:313,53446,822,56428,325,0001,011,0002,486,272
12Apr 26, 2026 15:313,60444,522,91927,921,0001,994,0002,490,368