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 listJul 16, 2026 15:47boop34boop34Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2026 15:48083,956,99273,341,0001,027,0002,113,536expected "53685239750646956 ", got "53685239723635790 "
2Jul 16, 2026 15:48084,063,07673,439,0001,040,0002,113,536expected "53684128659503448 ", got "53684132500445710 "
3Jul 16, 2026 15:48084,293,98173,629,0001,007,0002,113,536expected "53685674285633802 ", got "53685674274404708 "