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 listOct 11, 2023 17:30Serge SmirnovSerge SmirnovScore: 34,581Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 11, 2023 17:2634,558350,213,036286,830,84402,289,664
2Oct 11, 2023 17:2934,558355,978,622286,832,47202,297,856
3Oct 11, 2023 17:3134,567358,191,595286,910,00002,277,376
4Oct 11, 2023 17:3034,569347,436,563286,921,96902,277,376
5Oct 11, 2023 17:3134,572353,615,579286,944,82702,285,568
6Oct 11, 2023 17:2634,580355,972,312287,015,82102,277,376
7Oct 11, 2023 17:2934,581364,487,534287,022,35802,289,664
8Oct 11, 2023 17:2634,583351,764,998287,036,40702,285,568
9Oct 11, 2023 17:3034,585350,717,124287,055,28302,289,664
10Oct 11, 2023 17:3134,593354,250,628287,121,85202,285,568
11Oct 11, 2023 17:2935,978371,013,217298,618,98902,281,472
12Oct 11, 2023 17:3035,985368,622,129298,671,88102,281,472