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 11, 2026 07:31wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 03:44Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 03:44036,587,17727,583,0001,043,0002,113,536expected "74600294196621100 ", got "74534754480553749 "
2Jul 4, 2026 03:44036,429,70627,669,0001,032,0002,113,536expected "74600294196621100 ", got "74534750380138739 "
3Jul 4, 2026 03:44036,775,47727,788,0001,037,0002,113,536expected "74600294196621100 ", got "74534752171311739 "
4May 11, 2026 07:323,40637,561,05928,278,00002,113,536
5May 11, 2026 07:323,41536,279,27727,315,0001,035,0002,113,536
6May 11, 2026 07:323,41535,550,04727,346,0001,004,0002,113,536
7May 11, 2026 07:323,42235,623,48128,403,00002,113,536
8May 11, 2026 07:323,42737,765,03928,452,00002,113,536
9May 11, 2026 07:323,57540,401,00328,671,0001,009,0002,113,536
10May 11, 2026 07:323,58038,562,32828,713,0001,002,0002,113,536
11May 11, 2026 07:323,58639,268,49328,771,0001,001,0002,113,536
12May 11, 2026 07:323,59438,088,58929,835,00002,113,536