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:45boop34boop34Error
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:45092,976,88275,053,0008,327,00020,987,904expected "53685529459511153 ", got "53685537274886309 "
2Jul 16, 2026 15:459,21387,372,35874,283,0002,190,0004,210,688
3Jul 16, 2026 15:4511,886108,970,12175,041,00023,613,0004,210,688