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 5, 2026 00:21olliecrowolliecrowError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 5, 2026 00:34058,206,72149,070,0002,275,0002,379,776expected "53687061789953712 ", got "53687061789953456 "
2May 5, 2026 00:346,07059,023,88448,149,0002,236,0002,535,424
3May 5, 2026 00:346,10657,618,05948,528,0002,155,0002,551,808