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 listNov 9, 2021 13:51Ilya AniskovetsIlya AniskovetsScore: 90,951Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 9, 2021 13:5190,949825,117,286754,877,09102,293,760
2Nov 9, 2021 13:5190,951828,060,939754,891,65002,293,760
3Nov 9, 2021 13:5190,972837,030,902755,064,88102,281,472