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 1, 2023 21:40Aleksandr DumarevskiiAleksandr DumarevskiiScore: 69,081Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2023 21:4069,071637,556,631573,286,46602,256,896
2Sep 1, 2023 21:3969,077631,168,374573,337,78202,260,992
3Sep 1, 2023 21:3969,078629,515,255573,350,44702,269,184
4Sep 1, 2023 21:4069,081635,581,730573,372,00502,265,088
5Sep 1, 2023 21:3969,100644,394,727573,533,67802,273,280
6Sep 1, 2023 21:4069,111632,427,048573,623,82502,273,280