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 5, 2021 10:23Andrey TsvetkovAndrey TsvetkovScore: 45,604Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 10:2345,577444,468,097378,289,53002,260,992
2Sep 5, 2021 10:2345,585431,587,738378,353,03502,269,184
3Sep 5, 2021 10:2345,601431,476,906378,488,68702,252,800
4Sep 5, 2021 10:2345,604439,357,815378,509,18402,269,184
5Sep 5, 2021 10:2345,613444,481,352378,589,83902,252,800
6Sep 5, 2021 10:2345,636440,001,776378,781,02102,252,800