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 listSep 20, 2025 08:10sheryllynn24sheryllynn24Score: 10,820Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 20, 2025 08:1010,656116,385,05387,441,0001,005,0002,285,568
2Sep 20, 2025 08:1010,713117,761,56686,918,0001,998,0002,265,088
3Sep 20, 2025 08:1010,787110,751,95788,524,0001,005,0002,523,136
4Sep 20, 2025 08:1010,820116,114,04287,812,0001,995,0002,367,488
5Sep 20, 2025 08:1010,824116,716,24487,846,0001,996,0002,519,040
6Sep 20, 2025 08:1010,827116,117,52087,864,0001,996,0002,285,568