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 7, 2021 14:57Andrey TsvetkovAndrey TsvetkovScore: 35,717Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2021 14:5435,704366,065,764296,339,99802,289,664
2Sep 7, 2021 14:5735,707363,208,371296,367,75402,293,760
3Sep 7, 2021 14:5735,708370,887,647296,374,02802,289,664
4Sep 7, 2021 14:5735,712373,209,839296,412,12602,293,760
5Sep 7, 2021 14:5435,717360,074,120296,449,99802,297,856
6Sep 7, 2021 14:5435,717350,241,158296,450,71402,301,952
7Sep 7, 2021 14:5735,719368,044,432296,468,86702,301,952
8Sep 7, 2021 14:5735,719355,696,435296,464,24702,301,952
9Sep 7, 2021 14:5735,734351,777,985296,591,30902,293,760