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 12:16Andrey TsvetkovAndrey TsvetkovScore: 42,120Success
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 12:0742,095414,561,266349,391,91402,277,376
2Sep 5, 2021 12:0842,099411,091,884349,418,58302,293,760
3Sep 5, 2021 12:0742,106410,224,067349,481,89902,293,760
4Sep 5, 2021 12:0642,110409,416,805349,513,04202,293,760
5Sep 5, 2021 12:0742,111405,600,501349,519,49302,285,568
6Sep 5, 2021 12:0642,114417,183,058349,545,96102,289,664
7Sep 5, 2021 12:0842,117406,144,189349,573,76902,285,568
8Sep 5, 2021 12:0842,120427,347,430349,595,64002,285,568
9Sep 5, 2021 12:0642,133414,622,674349,703,79802,281,472
10Sep 5, 2021 12:1642,159408,181,668349,918,20502,285,568
11Sep 5, 2021 12:1742,169405,237,929350,002,24502,277,376
12Sep 5, 2021 12:1742,174415,376,917350,045,27002,285,568
13Sep 5, 2021 12:1642,196402,771,417350,230,37302,289,664
14Sep 5, 2021 12:1644,616430,024,215370,310,46602,289,664
15Sep 5, 2021 12:1744,704427,343,136371,043,09102,293,760