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 05:31wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:33Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:33037,335,97828,327,0001,022,0002,113,536expected "74600294196621100 ", got "74535197964078790 "
2Jul 6, 2026 15:33037,422,07728,455,0001,008,0002,113,536expected "74600294196621100 ", got "74535175233632980 "
3Jul 6, 2026 15:33035,954,67926,885,0001,121,0002,113,536expected "74600294196621100 ", got "74534756525982397 "
4Apr 27, 2026 05:313,40640,055,19327,267,0001,009,0002,478,080
5Apr 27, 2026 05:313,42844,331,82927,439,0001,016,0002,314,240
6Apr 27, 2026 05:313,44741,522,16227,594,0001,022,0002,486,272
7Apr 27, 2026 05:313,44845,662,83627,599,0001,022,0002,490,368
8Apr 27, 2026 05:313,44943,761,51527,612,0001,022,0002,494,464
9Apr 27, 2026 05:313,46844,163,34026,803,0001,985,0002,482,176
10Apr 27, 2026 05:313,48640,868,66527,941,000997,0002,330,624
11Apr 27, 2026 05:313,50743,780,20727,104,0002,007,0002,486,272
12Apr 27, 2026 05:313,62546,312,75928,087,0002,006,0002,498,560