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 18, 2026 12:29boop34boop34Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 18, 2026 12:29086,105,65475,174,0001,022,0002,113,536expected "53686847208788990 ", got "4607451458306319972 "
2Jul 18, 2026 12:29086,182,04075,449,0001,029,0002,113,536expected "53685693778844039 ", got "7218228125215138373 "
3Jul 18, 2026 12:29086,205,82175,480,0001,006,0002,113,536expected "53689399847388826 ", got "6704899987912600650 "