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 listAug 31, 2021 10:55AleksandrAleksandrScore: 145,369Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2021 09:48145,1741,285,755,6311,204,945,07602,256,896
2Aug 31, 2021 09:48145,2081,268,807,6761,205,226,49502,248,704
3Aug 31, 2021 09:48145,3301,273,908,0161,206,243,01202,260,992
4Aug 31, 2021 10:55145,3691,266,551,4311,206,565,41702,240,512
5Aug 31, 2021 10:55145,4081,269,170,2111,206,883,40202,252,800
6Aug 31, 2021 10:55145,4411,279,963,1941,207,157,97602,248,704