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 11:24Andrey TsvetkovAndrey TsvetkovScore: 45,184Success
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 11:1945,164446,469,603374,858,08102,256,896
2Sep 5, 2021 11:1845,170442,342,009374,908,07002,252,800
3Sep 5, 2021 11:1645,181434,823,997375,003,43802,256,896
4Sep 5, 2021 11:1945,182453,610,017375,011,58302,252,800
5Sep 5, 2021 11:2445,182449,179,948375,011,06402,244,608
6Sep 5, 2021 11:1945,183435,777,074375,016,94302,252,800
7Sep 5, 2021 11:1645,184444,520,659375,026,09102,252,800
8Sep 5, 2021 11:1845,186447,876,179375,047,56002,248,704
9Sep 5, 2021 11:2445,188441,954,594375,062,28102,252,800
10Sep 5, 2021 11:2445,189440,056,875375,067,39802,256,896
11Sep 5, 2021 11:1645,191453,236,806375,085,19402,248,704
12Sep 5, 2021 11:1845,207439,251,132375,221,14802,248,704